I am currently trying to modify this existing code for a web application. At first, it seems very messy to me, but one thing that is really bugging me is that it has many databases.. like lots of databases to store different categories of stuff.
In the PHP code there are numerous references to mysql_select_db(), as many as 9 times in some scripts. Now, is this common practice? The applications that I have used before with PHP/MySQL just used one database and had clearly defined tables to separate data.
Am I right to assume that the multiple calls to mysql_select_db() is a very bad design choice? Or is this another common practice to store stuff in MySQL?
BTW, does anyone know of any good MySQL forums? I will be having many questions later
In the PHP code there are numerous references to mysql_select_db(), as many as 9 times in some scripts. Now, is this common practice? The applications that I have used before with PHP/MySQL just used one database and had clearly defined tables to separate data.
Am I right to assume that the multiple calls to mysql_select_db() is a very bad design choice? Or is this another common practice to store stuff in MySQL?
BTW, does anyone know of any good MySQL forums? I will be having many questions later