NEED PHP MYSQL HELP!!! - Thank you :)
Whenever I process the code below, I recieve the output; Query was empty. What does this mean, how can I fix it?
$cur_date = date("d/m/y H:i:s", time());
mysql_query("INSERT INTO MESSAGES (RECIPIENT, FROM, DATE, SUBJECT, MESSAGE, STATUS, TYPE)
VALUES ($_POST[RECIPIENT], $_POST[FROM], $cur_date, $_POST[SUBJECT], $_POST[MESSAGE], 1, 2)");
$result = mysql_query($query) or die(mysql_error());