Page 1 of 1

textarea value

Posted: Tue Aug 08, 2006 2:56 am
by shiranwas
Pimptastic | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


hi,
i have a textarea control in my html page

Code: Select all

<textarea name="txtMessage"   value="<? print $message ?>" style="color: #000; background: #EFEFEF; border: 2px solid #781351; width:540px; height:150px" ></textarea>
when i put the variable in value i got from a php function it does not show , i am new to php, i feel that textarea does not have a value property if am correct how to fiex this problem or any otherway


shiran


Pimptastic | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Tue Aug 08, 2006 3:05 am
by JayBird

Code: Select all

<textarea name="txtMessage" style="color: #000; background: #EFEFEF; border: 2px solid #781351; width:540px; height:150px" ><? print $message ?></textarea>

Posted: Tue Aug 08, 2006 3:29 am
by shiranwas
thanks alot (Pimptastic)