
function OutputGuestList()
{
print(" n");
print("Name: Street1: Street2 City: State: Zip Edit: Delete n");
$result = $xoopsDB -> query("SELECT * FROM xoops_caseyguestlist LIMIT 0,30");
while ($row = $xoopsDB->fetchArray($result))
{
print "ID:".$row{'id'}." Name:".$row{'name'}." ".$row{'zip'}."
";
}
print("
n");
}
$result = $xoopsDB -> query("INSERT INTO `xoops_caseyguestlist` (name, street1, street2, city, state, zip) VALUES ('$name', '$street1', '$street2', '$city', '$state', '$zip')");
Fatal error: Call to a member function on a non-object in /var/www/localhost/htdocs/modules/caseyguestlist/index.php on line 85
$result = $xoopsDB -> queryF('SELECT * FROM `thetesttable` LIMIT 0, 30');