$pm_from = "UberAdmin"; // MUST MATCH AN ACCOUNT NAME OR PEOPLE WILL NOT BE ABLE TO REPLY $pm_subject = "Welcome to my site"; $pm_message = "Insert a friendly but evil message here"; $time = time() + ($pref[time_offset] * 3600); $mysql_query = "INSERT INTO ".MPREFIX."pm_messages (pm_id,pm_from_user,pm_to_user,pm_sent_datestamp,pm_rcv_datestamp,pm_subject,pm_message) VALUES ('','$pm_from','$username','$time','0','$pm_subject','$pm_message')"; $mysql_result = mysql_query($mysql_query) or die(mysql_error());