lorderunion Posted November 20, 2006 Share Posted November 20, 2006 Hi. I'm not really completely sure as to why this is happening. Here's my error message:Notice: Undefined property: mysql_driver_ADOConnection::$_logsql in /opt/lampp/htdocs/v8/httpdocs/adodb/adodb.inc.php on line 30Notice: Undefined property: mysql_driver_ResultSet::$RecordCount in /opt/lampp/htdocs/v8/httpdocs/include/functions.php on line 18Here's the functions.php line (the whole function, really).----------// Does this email exist already?function checkemail($email){ global $dbname; global $__db; $sql = "SELECT * FROM $dbname.accounts WHERE email = '$email'"; $result = $__db->Execute($sql); if ($result->RecordCount >= 1) { $uid = $result->fields["id"]; return $uid; } else return false;}----------At the top of functions.php, I am including my config file (include("config.php");)The contents of config.php are as follows:----------####################### Database variables#####################$dbhost = "localhost";$dbuser = "root";$dbpass = "";$dbname = "mb_game";/** ADOdb Lite v1.30* http://adodblite.sourceforge.net/index.php*/require_once("/opt/lampp/htdocs/v8/httpdocs/adodb/adodb.inc.php");$__db = ADONewConnection($dbtype);$__db->debug = false;$__db->Connect($dbhost, $dbuser, $dbpass);----------Any idea as to why I'm getting this error?(PHP v5.1.4 - MySQL v5.0.21) Link to comment https://forums.phpfreaks.com/topic/27830-adodb-help/ Share on other sites More sharing options...
lorderunion Posted November 20, 2006 Author Share Posted November 20, 2006 bump Link to comment https://forums.phpfreaks.com/topic/27830-adodb-help/#findComment-127341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.