Posted 26 December 2012 - 12:15 AM
hi pals . could there have been any reason why this code simply doesn't work, have crossed check if to see possible error but every thing seems to be working fine , NO ERROR DISPLAYED BY SEVER AND , NO CONFIRMATION MSG DISPLAYED , AND NO DATA STORED IN THE DB.?
what could be the possible mistake i have being making ...Help would be greatly appreciated
<form action="signup.php" method="POST">
<label for="username">User name : </label>
<input type="text" name="username" id="username"/><br/>
<label for="password">Password : </label>
<input type="text" name="password" id="password"/><br/>
<input type="submit" value="submit" id="submit"/>
or die('Error connecting to MYSQL sever .');
$query= "INSERT INTO password_list(user_name,password)".
$result= mysqli_guery($dbc,$query) or die('Error querying database.');
echo"User name and password added successfully.";