Does anyone have the code to read a MySql database field into a text box?
This is what I have so far:
<textarea name="news" cols="20" rows="7"> <?php if($View == "View") {
</textarea>
<textarea name="news" cols="20" rows="7"> <?php if($View == "View") { // assuming you already queried and have the // result in $result and that the field you // want to display is the first field $row = mysql_fetch_array($result); print $row[0]; } ?> </textarea>
Diego