Posted by Jon on 01/23/06 03:31
function query($query, $return = false)
{
$fetch = mysql_query($query, $this->connection) or
die2(mysql_error($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
Navigation:
[Reply to this message]
|