RE: [PHP] ptting the variable inside the input

2007-08-22 Thread Jan Reiter
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 ""; Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ptting the variable inside the input

2007-08-22 Thread Instruct ICC
From: "Hulf" <[EMAIL PROTECTED]> This does not work echo $title=$row['title']; echo ""; 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 missed a double quote after your backslash; the atte

RE: [PHP] ptting the variable inside the input

2007-08-22 Thread Jay Blanchard
[snip] [snip] echo $title=$row['title']; echo ""; [/snip] echo ""; You have to concatenate the value $title into the string [/snip] Actually don't have to do that, it was just one of the things that I thought of right off the top of my head. What is the result of echo $title=$row['title']; ?

Re: [PHP] ptting the variable inside the input

2007-08-22 Thread Stut
Hulf wrote: This does not work echo $title=$row['title']; echo ""; 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 since it's not actually part of the table. -Stut -

Re: [PHP] ptting the variable inside the input

2007-08-22 Thread Stut
Hulf wrote: This does not work echo $title=$row['title']; echo ""; 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 since it's not actually part of the table. -Stut -

RE: [PHP] ptting the variable inside the input

2007-08-22 Thread Jay Blanchard
[snip] echo $title=$row['title']; echo ""; [/snip] echo ""; 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

[PHP] ptting the variable inside the input

2007-08-22 Thread Hulf
This does not work echo $title=$row['title']; echo ""; Ta, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php