Jump to content

[SOLVED] Fatal error: Call to a member function on a non-object


Crustyfur

Recommended Posts

Is this a error cuased by lack of declaration of $db?

 

<?php

function newscommentsent()
{

global $pagetitle, $result;

$pagetitle = "Fleet Town, Hampshire - News Comment Sent";

$result = $db->sql_query("INSERT INTO ".$prefix."_bus_pending (feildname)

//--snip

?>

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.