Re: textarea problem
| From: | Marek Kilimajer | Date: | Thu, 23 Jan 2003 13:47:56 +0000 |
| Subject: | Re: textarea problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132825@lists.php.net to get a copy of this message | ||
Yes - textarea does not have value attribute, put the value between <textarea ... > and </textarea>
Print '<textarea name="OrgAddress" cols="44" rows="5" id="textarea">'.htmlspecialchars($row['OrgName']).'</textarea>';
Denis L. Menezes wrote:
Thanks Marek. Could you help me with this piece of code? <?php Print '<textarea name="OrgAddress" cols="44" rows="5" id="textarea" value="'.htmlspecialchars($row['OrgName']).'"></textarea>'; ?> Thanks denis