RE: PHP and MYSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Php.ini, but you can override it in the page with: error_reporting(E_ALL); 

-----Original Message-----
From: Leandro Martinez [mailto:leandro@xxxxxxxxxxxxxxxxxxxxxx] 
Sent: Friday, June 22, 2007 9:12 AM
To: php-windows@xxxxxxxxxxxxx
Subject: Re:  PHP and MYSQL

Where is that?
On MySQL, on PHP.ini or on IIS?



""Bill Bolte"" <billb@xxxxxxxxxxxxxxxx> escribió en el mensaje 
news:013FC758865CF645976E313AEB6A709904DCC1C8@xxxxxxxxxxxxxxxxxxxxxxxxxx
Do you have error reporting turned off?

-----Original Message-----
From: Leandro Martinez [mailto:leandro@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, June 22, 2007 8:23 AM
To: php-windows@xxxxxxxxxxxxx
Subject:  PHP and MYSQL

Hello. I just instaled PHP and MySQL on IIS.
Then from any php file I try to conect to the mysql server and nothing
happends.  I just get an empty page. All white.  No data and no error!

This is the code

$link = mysql_connect('localhost', '[user]', '[pass]');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);


Can anyone help me?

Thanks

-- 
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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux