06-30-2008, 01:56 PM
|
#11 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Location: Cloud 9
Posts: 19
Thanks: 0
|
Hi Andrew
In this function:
Code:
public function query($szQuery) {
$this->m_query = mysql_query($szQuery);
if (!$this->m_query) {
return 'There was an error while trying to process the query.';
} else {
return $this->m_query;
}
}
You use a class variable called m_query which isn't defined in the scope of the class only the function. I don't know if that is relevant?
|
|
|
|