Jump to content

Fatal error: Call to a member function Setting() on a non-object


Jamesking56

Recommended Posts

Fatal error: Call to a member function Setting() on a non-object

	class Settings	{		#	internal variables				function Setting ( $setting )		{			// Get Setting Strings			$get = mysql_query("SELECT sval FROM settings WHERE skey='" . $setting . "'");			echo $get;			return $get;		}		}

What have I done wrong?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...