$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext\n\t(fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie)\nVALUES\n\t(1, '" . addslashes(fly) . "', 'test', 'this is a test', '" . addslashes(serialize(1)) . "', 0, " . TIMENOW . ", 0, 1)");
So would that be a valid query for the first one?
edit: I guess not.
Quote:
Fatal error: Call to a member function on a non-object in /home/prozac/public_html/useless/test2.php on line 12
|
I suck at this.