PhoenixDown
Programmer
OK, I'm using this to get data from rows in my table:
Then after I have this:
It's not printing it into the field. Why?
Code:
<?
include 'data/config.php';
mysql_connect("$server", "$dbusername", "$dbpassword") or die("Could not connect to database. Please make sure data/config.php exists, and it is configured correctly. ");
mysql_select_db("$dbase");
$result = mysql_query("SELECT displayid, status, email, name, link1name, link1url, link2name, link2url, entriesperpage, ipdisplay FROM guestbook_display");
?>
Then after I have this:
Code:
<input type="text" name="GuestbookEmail" size="40" value="<?$row[2]?>" maxlength="150" />
It's not printing it into the field. Why?