Of courcse you dont get errors, since you supress them with the at-sign (@) before the function name. While still doing alpha development it is stroingly suggested not to supress error output on espacilay database functions calls. That is why you only see the first echoed string. -----Original Message----- From: Jeroen To: php-windows@xxxxxxxxxxxxx Sent: 5-11-2004 22:48 Subject: Re: Apache, PHP4, MySQL installation Hello Walter, No errors, just not the results I want. I run the following script: <? echo "DB connection testing !"; $mySQL = @mysql_connect("localhost", "user", "password") or exit(); echo "DB selecting !"; if (!mysql_select_db("my")) exit(); echo "DB connection okay !"; ?> I only see the string DB connection testing. Regards, Jeroen "Phpwalter" <phpWalter@xxxxxxxxx> wrote in message news:3763.68.255.26.8.1099679069.squirrel@xxxxxxxxxxxxxxxxxxxxx >> Hello, >> >> I installed Apache 2.0.52 en PHP4.3.9 on a Windows XP SP2 machine. >> Everything runs fine. >> I also installed MySQL 4.1 and it also runs fine. >> >> However when I try to connect to a exisiting database from within a PHP >> script it fails. >> >> I followed several installation tutorials on the net but nu success >> sofar. > > #1 - what errors, if any are you getting > > #2 - what kind of display ar you getting? > > #3 - try this install dox > http://web.torres.ws/dev/php/walters_way > > Works every time. > > Walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php