By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,919 Members | 1,587 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,919 IT Pros & Developers. It's quick & easy.

php form

P: 2
i got this error in index.php file:
Expand|Select|Wrap|Line Numbers
  1. Add entry
  2.  
  3. 0 ) { $i=0; while ($i < $num) { $firstname = stripslashes(mysql_result($result,$i,"firstname")); $lastname = stripslashes(mysql_result($result,$i,"lastname")); $email = stripslashes(mysql_result($result,$i,"email")); $password = stripslashes(mysql_result($result,$i,"password")); $messege = stripslashes(mysql_result($result,$i,"messege")); $id = stripslashes(mysql_result($result,$i,"id")); $row .= " FirstName Delete "; ++$i; }} else { $row .= " Nothing found"; }' ?>
**************************************************
and in add.php each input field contain a statement:
Expand|Select|Wrap|Line Numbers
  1. <?php echo stripslashes($firstname) ?>
  2. <?php echo stripslashes($lastname) ?>
  3. <?php echo stripslashes($email) ?>
  4. <?php echo stripslashes($password) ?>
  5. <?php echo stripslashes($messege) ?>
please give me the proper and correct solution....
Mar 20 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,364
Please use code tags when posting code.

You didn't say what the error was.
Mar 20 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.