Re: PHP - working with two MySQL serwers

2001-02-08 Thread MB
Anna wrote: No. As long as you give them different names. :-) $connectionLocal=mysql_connect(bleah, bleah, bleah); $connectionOther=mysql_connect(bleah, bleah, bleah); Then in any mysql_query you must, of course, specify which connection you are using. Anna Thanx, I've already tried

PHP - working with two MySQL serwers

2001-02-07 Thread MB
Hi all, I use replication on MySQL. One of my ideas is to generate HTML pages using PHP. Will I have any troubles using PHP and connecting simultaneously to both servers? Thanks in advance for any comments. Mariusz Brzezinski WBK SA tel. +48 61 856 53 57 mobile +48 501 623 123