Posted by ming on 01/23/06 03:51
I think it the -> problem. php5 class is different with php4 class
Jon wrote:
> 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
>
[Back to original message]
|