Posted by Mike on 10/11/46 11:52
It OK, I've figured it out.
Thanks
Mike
pacal wrote:
> Mike wrote:
> > 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
> >
> do you use the php extension on your file (filename.php)
>
> pacal
[Back to original message]
|