$username="pn_457871";
$password="********";
$database="pn_457871_database";
$host="sql1.phpnet.us";
$first=$_POST['first'];
$last=$_POST['last'];
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query=INSERT INTO table VALUES ("$first","$last");
mysql_query($query);
mysql_close();
?>
It's connecting to the database, but not saving any results. The form (http://natedaweb.phpnet.us/radiopanel.html) has the right names for the text boxes (I think)
What's wrong?!?
2007-03-18
13:00:47
·
5 answers
·
asked by
Christian_Dude
2
in
Computers & Internet
➔ Programming & Design