Posted by Mike on 10/11/08 11:52
I have the following form in php..
Enter Message:<br> <textarea name=\"body\" cols=\"50\" rows=\"10\">
This is a test</textarea><br><br>
Which displays a textbox and defaults the value to "This is a test".
I want to store a message to a variable, say $testmessage = "This is a
test message" and then display that. The following doesn't work...
Enter Message:<br> <textarea name=\"body\" cols=\"50\" rows=\"10\">
$testmessage</textarea><br><br>
All I get is $testmessage and not whats in $testmessage.
How do I get the default to show whats in the $testmessage string?
Thanks
Mike
[Back to original message]
|