You are here: Re: PHP4 and this function « PHP Programming Language « IT news, forums, messages
Re: PHP4 and this function

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
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация