note 8555 deleted from mysql_select_db by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sun, 17 Sep 2000 23:36:09 +0000 |
| Subject: | note 8555 deleted from mysql_select_db by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5159@lists.php.net to get a copy of this message | ||
in a script which ran fine with PHP3, i had:
<i>mysql_connect($db_ip, $db_user, $db_pass);</i>
<i>require 'admin.inc';</i>
<i>mysql_select_db($story_db);</i>
...which worked fine, however PHP4 didn't like the ordering of this for some reason. so
don't put a require() between a mysql_connect() and mysql_select_db()...it confused me for
about 3 hours :)