Re: Page disappears
Posted by:
Alec Altby
Date: March 12, 2006 06:28AM
Seems that I have the same problem as you, Jayyde.
I just get a white page. Tho I've got some errors in my error.log (running at apache)
[Sun Mar 12 12:50:02 2006] [error] [client 217.208.214.66] PHP Fatal error: Call to undefined function mysql_connect() in C:\\Program\\Apache Group\\Apache2\\htdocs\\test.php on line 2
the code as simple as this sthis:
<?php
$link = mysql_connect('localhost', 'root', 'xxxx');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
What's weird is that phpmyadmin works with mysql.
Anyone who know what's wrong?
Edited 1 time(s). Last edit at 03/12/2006 06:31AM by Alec Altby.
Subject
Written By
Posted
Re: Page disappears
March 12, 2006 06:28AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.