November 29th, 2009, 08:41 AM
HTML markup output in PHP
I am running a script to edit mysql data in php.
However any output to textarea is blank while same output in input type=text is ok. I also have single quotes and some html code I need to output as raw text. How do I manage this?
MySQL client version: 5.0.45
<textarea name='notes' rows='6' cols='20' VALUE="<?php echo $myrow['notes'] ?>"> </textarea>
November 29th, 2009, 09:06 AM
should work, textarea doesn't use value
<textarea name='notes' rows='6' cols='20'><?php echo $myrow['notes'] ?></textarea>
Comments on this post
November 29th, 2009, 09:44 AM