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

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









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?
Jsp code for disabling record.
How to write the junit test code for the following controller code
ModuleNotFoundError: No module named 'code-record'
ModuleNotFoundError: No module named 'code-record'
i want to update values
my hibernate showing the following exception so how i can resolve it
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
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 list databases in PostgreSQL
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...
How should I start to learn code with Java?
I have crude application
in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.
How do I get a job as a data scientist if I have no prior experience?
how can i simplify my java code
how to update
Need the Following MobileApplication Related Code
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
source code for the following question
Expain the following code ?
Java code for following
I have need to help
i have problem with classnofounderror
i have problem with classnofounderror
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
ModuleNotFoundError: No module named 'trouble'
how to edit a record in hibernate?
servlet code to update password?
How to retrieve record from table
I have problem in my Project
update the java code in Tortaise SVN
how can i create a mysql database to connect to this code - JDBC
how can i create a mysql database to connect to this code - JDBC
in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit.
How to update table in Hibernate
I have to retrieve these data from the field table
how to update checkbox list in database
need help....how to connect and disconnect multiple databases(databases created in mysql) using java and my sql
i have a problem in spring - Spring
how to print hello world every second till i have pressed enter key

Ads