RE: ptting the variable inside the input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

You don't have to end your string when placing an array value. {} will tell
the parser to interpret the text between as a variable. Try:

echo "<tr><td><input name=\"title\" type=\"text\" value=\"{$row['title']}\"
/></td>";

Jan

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux