local v remote
| From: | blueboy | Date: | Thu, 31 May 2007 09:50:02 +0000 |
| Subject: | local v remote | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255897@lists.php.net to get a copy of this message | ||
On my localhost this works fine
$result= mysql_query("SELECT date_format(date, '%d/%m/%Y') as date, title,
id, display FROM NEWS");
while ($row = mysql_fetch_assoc($result)) {
but on my remote i get a mysql_fetch_assoc(): supplied argument is not a
valid MySQL result resource
Can someone expalin the problem? PHP version problem?