Hello! I want to know how to connect multiple MySQL accounts in just one webpage and I have a previous PHP script below trying to build two connections. I thought that it was right, but the problem said that there is an error on the line 15 at mysql_fetch_array() and I did everything I can to fix it but still, I cannot. Please help me to fix my previous code below to build 2 MySQL connections in just one page. Thank you!
WHAT!! It's now working.. Yesterday that I've checked my page including that code, it said that there is an error at mysql_fetch_array() but now, I've check that page again and it's all works fine! Otherwise, this thread has no problem at all and all the code above is totally correct! I just wonder why it have an error yesterday, and now it have no error. Anyway, feel free to copy the PHP script above to make two connections on MySQL in just one web page!