I have gone to number of websites and I see the same example and for whatever reason its a bad code...
this is the error:
PHP:
mysql_query("INSERT INTO Information_Center (t_id, title, date, body, author, to) VALUES ('300', '$title', '$date', '$body', '$uid', '$to')") or die("There seems to be a problem with sending your message. Here is the error that was received:<br><BR>\n\n ".mysql_error()."");
this is the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to) VALUES ('300', 'test', '12/16/08', at line 1