Re: [PHP-WIN] Switching dbs in midstream

2002-10-27 Thread Cam Dunstan
: Monday, October 28, 2002 3:59 AM Subject: [PHP-WIN] Switching dbs in midstream > Hi, > I have a situation where I may have to switch the database while I am > looping a resultset. If I do a mysql_select_db within the middle of that, > will that change the initial result

[PHP-WIN] Switching dbs in midstream

2002-10-27 Thread John Meyer
Hi, I have a situation where I may have to switch the database while I am looping a resultset. If I do a mysql_select_db within the middle of that, will that change the initial resultset, e.g while ($row = mysql_fetch_array($result)) { mysql_select_db($anotherdb); //do stuff