DrewM
03-28-2006, 10:45 PM
Well i'm making a contest script and I'm geting the fowling errors after summiting:
Fatal error: Call to a member function on a non-object in /home/rdsx667/public_html/contest.php on line 200
line 222 is:
$vbulletin->db->query_write("INSERT INTO `contest_babies` (`userid`, `active`, `name`, `age`) VALUES ('".$vbulletin->db->escape_string($vbulletin->userinfo['username'])."', '0', '$name', '$age'");
thank you in advanece.
Fatal error: Call to a member function on a non-object in /home/rdsx667/public_html/contest.php on line 200
line 222 is:
$vbulletin->db->query_write("INSERT INTO `contest_babies` (`userid`, `active`, `name`, `age`) VALUES ('".$vbulletin->db->escape_string($vbulletin->userinfo['username'])."', '0', '$name', '$age'");
thank you in advanece.