Mailinglisten-Archive |
# Anfrage an Datenbank Nr.1 $link1 = mysql_connect ("host1", "user1", "pass1") or die ("Could not connect to host1"); $result1 = mysql_query ("SELECT * FROM tabl") or die ("Invalid query"); mysql_close ($link1); # Anfrage an Datenbank Nr.2 $link2 = mysql_connect ("host2", "user2", "pass2") or die ("Could not connect to host2"); $result2 = mysql_query ("SELECT * FROM tabl") or die ("Invalid query"); mysql_close ($link2); Mit freundlichen Grüssen Dietmar Becker
php::bar PHP Wiki - Listenarchive