Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
-
fernandomaciel
- Forum Newbie
- Posts: 7
- Joined: Mon Jun 07, 2004 3:06 pm
Post
by fernandomaciel »
classdb.inc.php line85 mysql_query()
supplied argument is not a valid MYSQL link resource.
How do I fix that problem??
-
penguinboy
- Forum Contributor
- Posts: 171
- Joined: Thu Nov 07, 2002 11:25 am
Post
by penguinboy »
post the code from classdb.inc.php
-
fernandomaciel
- Forum Newbie
- Posts: 7
- Joined: Mon Jun 07, 2004 3:06 pm
Post
by fernandomaciel »
}
else {
$this->res = @mysql_query($sql,$this->bd->id) or die(mysql_error());
$this->nrw = @mysql_num_rows($this->res);