Hello I wanted to follow on from http://bytes.com/forum/thread3085.html but the forum wouldn't let me post ... so ...
I dont see the complete answer. If this is how to get variables from php into html text fields
How do you get the data into the variables?
Do I start my html with say, this:
then in the php file:
something like
* connect to the database and table and then
Thanks in advance
I dont see the complete answer. If this is how to get variables from php into html text fields
Code:
$foo = "something from db" $bar = "something very long from db" ... <input type="text" name="short" value="$foo"> <textarea name="long">$bar</textarea>
Do I start my html with say, this:
Code:
<FORM METHOD=POST ACTION="annuaire_populate.php">
something like
* connect to the database and table and then
Code:
$foo= 'SELECT * FROM $table';
Comment