RE: [PHP] Help needed after upgrading to PHP4

From: Date: Mon, 05 Aug 2002 20:40:53 +0000
Subject: RE: [PHP] Help needed after upgrading to PHP4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111257@lists.php.net to get a copy of this message
> After upgrading from PHP3 I now get the following > information displayed > > Warning: mysql_query(): supplied argument is not a valid > MySQL-Link resource > Warning: mysql_fetch_array(): supplied argument is not a > valid MySQL result > resource Assuming that you've included mysql support and so on, you might check your php.ini to see what register_globals is set to. If this is off (the default in the current version) you may be losing a variable that you are using in your sql query and this would certainly result in the sort of error you're seeing. CYA, Dave

« previous php.general (#111257) next »