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

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

 

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

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