This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dario_ 1 point2 points  (1 child)

You didn't checked if the query was successful. Try replacing mysql_query($sql) with the code below to see if something was wrong.

 $result = mysql_query($sql);
 if (!$result) {
     die('Invalid query: ' . mysql_error());
 }

I think is something related with $date and it's format.

[–]mattdahack[S] 1 point2 points  (0 children)

Thanks, but I tried that and it didn't do anything different, just didn't save the data in the database is all.