Jump to content

[SOLVED] echo variables in textarea...


Patrick3002

Recommended Posts

Does anyone know how i could echo a variable like $variable in a text area like:

 

<textarea name="code" cols="100" rows="20" wrap="VIRTUAL"></textarea>

 

<textarea name="code" cols="100" rows="20" wrap="VIRTUAL"><?php echo "$variable"; ?></textarea>

 

Does not work...

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/42497-solved-echo-variables-in-textarea/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.