note 39396 added to function.mysql-select-db

From: Date: Tue, 27 Jan 2004 13:44:40 +0000
Subject: note 39396 added to function.mysql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-64247@lists.php.net to get a copy of this message
why can't i use constants instead of strings if a use a defined constant called $MYSQL_DB then php throws the error msg: Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in blabla ---- Manual Page -- http://www.php.net/manual/en/function.mysql-select-db.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39396 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39396&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39396&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64247) next »