PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
augustus_emperor
Forum Newbie
Posts: 6 Joined: Tue Apr 20, 2004 9:20 pm
Post
by augustus_emperor » Mon Jun 07, 2004 3:31 am
Code: Select all
<?
$q = "select reason from temp3 where user_id=$user_id";
$r = mysql_query($q,$conn);
$row = mysql_fetch_array($r);
$reason = stripslashes($row[1]);
?>
<br><textarea align=center cols=85 rows=10 name="reason" value="<? echo $myrow["reason"]?>">
</textarea>
<br></table>
and the result the text area is blank?!!!
Wayne
Forum Contributor
Posts: 339 Joined: Wed Jun 05, 2002 10:59 am
Post
by Wayne » Mon Jun 07, 2004 3:34 am
Last time I checked HTML conventions textareas where done like this!?
vigge89
Forum Regular
Posts: 875 Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden
Post
by vigge89 » Mon Jun 07, 2004 8:11 am
haha, you'd better sutdy some more
(of course it's <textarea>value</textarea>