April 19th, 2000, 10:40 AM
When I try to execute the following php code to connect to my database using php 4.0
$conn = mysql_connect("localhost", "root","");
echo mysql_errno().": ".mysql_error()."n";
I get the following error meesages
"Fatal error: Call to undefined function: mysql_connect() in C:Inetpubwwwroottest.php on line 10"
MySQl works perfectly on commandline but does not work from within my code. I have uncommented mysql's dll in my php.ini.
Could someone help .
How do I make PHP work with mysql? Can someone help.
April 24th, 2000, 07:52 AM
Well I see your point I have the same error msgs. I find out that PHP4 don't work with mysql on WinNT... (see http://www.php.net ) Well the PHP4 RC1 works. But now I'm using RedHat as little homeserver, there you don't have this problems
April 24th, 2000, 09:21 AM
i couldn't install apache on win95 yaar
apache is showing running but when i open my browser with localhost .
it is giving me error as browser sent malformed request ..
can u pls tell me remedy for this