function query($query, $return = false)
{
$fetch = mysql_query($qu ery, $this->connection) or
die2(mysql_erro r($this->connection)) ;
if($return)
return $fetch;
}
mysql_error(): supplied argument is not a valid MySQL-Link resource
the line that begins with $fetch is my problem. This was originally a
PHP5 script that I am retrofitting.
The $query is used all over, and it is really gumming things up.
Thanks!
jon
{
$fetch = mysql_query($qu ery, $this->connection) or
die2(mysql_erro r($this->connection)) ;
if($return)
return $fetch;
}
mysql_error(): supplied argument is not a valid MySQL-Link resource
the line that begins with $fetch is my problem. This was originally a
PHP5 script that I am retrofitting.
The $query is used all over, and it is really gumming things up.
Thanks!
jon
Comment