Re: [PHP] Update to DB

2003-05-28 Thread David Grant
Kalle Saarinen wrote: Hello, I was just wondering how to update data to database from html text field. I have a form that retrieves data from dbase and put's values into text field in a web page. I want to be able to modify data and then save it dbase by hitting save button (also form object). i

RE: [PHP] Update to DB

2003-05-28 Thread Jay Blanchard
[snip] I was just wondering how to update data to database from html text field. Anyone know what is the proper way to do this? [/snip] The action for your form can contain an SQL UPDATE statement where the values in the database are updated with the values in the form. Fairly simple. Here is an

[PHP] Update to DB

2003-05-28 Thread Kalle Saarinen
Hello, I was just wondering how to update data to database from html text field. I have a form that retrieves data from dbase and put's values into text field in a web page. I want to be able to modify data and then save it dbase by hitting save button (also form object). ie. $sql="SELECT col1