RE: ptting the variable inside the input

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

 



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

echo "<tr><td><input name=\"title\" type=\"text\ value=\"".$title."\"
/></td>";

You have to concatenate the value $title into the string

-- 
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