Yeah i did, here is my full code, its wierd, cause I have another page with basically the exact same code, and it works fine.
<?PHP
//STEP 1 - CONNECT TO DATABASE
require('config.php');
$cid = mysql_connect($host,$usr,$passwd);
if (!$cid) {
echo("ERROR: " . mysql_error() . "\n");
}
//STEP 2 - UPDATE & ADD INFORMATION
if ($REQUEST_METHOD=="POST") {
$bio1 = addslashes($bio1);
$SQL = " UPDATE pageinfo SET";
$SQL = $SQL . " bio1 = '$bio1', ";
$SQL = $SQL . " phone1 = '$phone1', ";
$SQL = $SQL . " email1 = '$email1' ";
$SQL = $SQL . " WHERE id = '1' ";
$result = mysql_db_query($db,"$SQL",$cid);
echo "INFORMATION UPDATED!!!";
}
//STEP 3 REMOVE SLASHES FROM TEXT BOXES
$sql3 = "select * from pageinfo WHERE id='1'";
$result3 = mysql_query($sql3);
while ($directory = mysql_fetch_array($result3)) {
$id=$directory['id'];
$bio1=$directory['bio1'];
$phone1=$directory['phone1'];
$email1=$directory['email1'];
}
?>