You are here: Re: form in php « All PHP « IT news, forums, messages
Re: form in php

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация