> i am having a problem using <input> tags by using current
 > values kept in a mysql table. how do you get the values out of the
table and
 > into a form so they show as the value= part of the tag?

Start by making a basic test:

 <?PHP
 $some_string = "some string";
 echo "<input type=\"text\" name=\"some_string\" value=\"$some_string\"
size=20>";
 ?>

or you could try this:

 <?PHP
 $some_string = "some string";
 ?>
 <input type="text" name="some_string" value="<?=$some_string?>"
size=20>

Either should work.

Rinse and repeat as necessary.

CYA, Dave





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to