Okay, I've checked, re-checked, and looked over my code what feels like a few hundred times now. I know it's connecting to the Database, but it won't add information!
Anyways, here's my code:
$sql = "INSERT INTO pm (from,to,subject,message,date) VALUES ('$from','$to','$subject','$message','$date')";
$result = mysql_query($sql,$conn) or die ("Couldn't connect to send information."
;
I have defined all the variables, no idea why it's not working.
Anyways, here's my code:
$sql = "INSERT INTO pm (from,to,subject,message,date) VALUES ('$from','$to','$subject','$message','$date')";
$result = mysql_query($sql,$conn) or die ("Couldn't connect to send information."
I have defined all the variables, no idea why it's not working.