Home Answers Viewqa PHP How to update record to database? I have trouble with the following code

 
 


Akio tao
How to update record to database? I have trouble with the following code
1 Answer(s)      a year and 7 months ago
Posted in : PHP

I have written the update statement but it still not work to update the record,what is the missing of the following code ?I need help,thankyou

selectdb($database_con, $connection); $emailAddress=$_POST['emailAddress']; $deliveryAdd=$_POST['deliveryAddress']; $custel=$_POST['phoneNo']; $sql="UPDATE customer SET deliveryAdd= $deliveryAdd WHERE custEmail=$emailAddress"; mysql_query($sql);

echo "your Personal information has been changed"; ?>

View Answers

November 1, 2011 at 11:22 AM










Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.