Re: [PHP] Selecting databases

2001-11-26 Thread Craig Vincent
> I have a script that needs to be able to choose between 3 different > databases related to a pull down menu. Any ideas about what functions I > should be looking at There's really no need for a function. Most ANSI standard SQL servers will allow you to specify databases on the fly in your que

RE: [PHP] Selecting databases

2001-11-26 Thread Martin Towell
"if" something like: if ($db == 1) connect to db1 else if ($db == 2) connect to db2 else if ($db == 3) connect to db3 would that do? -Original Message- From: Marts [mailto:[EMAIL PROTECTED]] Sent: Friday, November 23, 2001 11:45 AM To: [EMAIL PROTECTED] Subject: [PHP] S