This does not work
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\ //td;
Ta,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\
//td;
[/snip]
echo trtdinput 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:
Hulf wrote:
This does not work
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\ //td;
In what way does it not work and you do realise you're outputting
$title on its own as well as the table row and input. This will appear
above the table in most browsers
Hulf wrote:
This does not work
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\ //td;
In what way does it not work and you do realise you're outputting
$title on its own as well as the table row and input. This will appear
above the table in most browsers
[snip]
[snip]
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\
//td;
[/snip]
echo trtdinput name=\title\ type=\text\ value=\.$title.\
//td;
You have to concatenate the value $title into the string
[/snip]
Actually don't have to do that, it was just one of the
From: Hulf [EMAIL PROTECTED]
This does not work
echo $title=$row['title'];
echo trtdinput name=\title\ type=\text\ value=\$title\ //td;
Ta,
R.
I'll pull a Johnny Carson divining moment and say:
Did you need the first 'echo'? Does $title need to be set? Try:
$title=$row['title'];
You
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 trtdinput name=\title\ type=\text\ value=\{$row['title']}\
//td;
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
7 matches
Mail list logo