How to update record to database? I have trouble with the following code

Ads
 

How to update record to database? I have trouble with the following code

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

Ads









Related Tutorials/Questions & Answers:
How to update record to database? I have trouble with the following code
Am using windows xp os..how to install wamp server for this os ?i have a trouble in this..
Advertisements
how to add a update button in the following jsp
I have a tex box. in that i want user should enter data in the format specified(for eg--a_b_c_d_e_)how to write code for it.
software or i have to write a code for this suff
How i upload file and save that record in database using JSP?
my hibernate showing the following exception so how i can resolve it
How to write the junit test code for the following controller code
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
i want to update values
Jsp code for disabling record.
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.
how to update
how to edit a record in hibernate?
I have crude application
Will i be able to get the content of a webpage in a word document (Note:i don t have access to the source code)through java code?
How to retrieve record from table
I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it
how can i simplify my java code
How to update table in Hibernate
source code for the following question
Need the Following MobileApplication Related Code
Expain the following code ?
I have need to help
How to update clob??
How can i add a new count to this source code ? - Java Beginners
How can i add a new count to this source code ? - Java Beginners

Ads