Oke, finally I got PHP and Mysql working after a vacation in holland. I am now working with part four of the tutorial on Sitepoint. Here is my problem, When I want to access the jokes database with the provided page from the tutorial I get a empty page. I worked my way down and came up with a little code like this:
<HTML>
<HEAD>
<TITLE> Our List of Jokes </TITLE>
<HEAD>
<BODY>
<?php
$dbcnx = mysql_connect("localhost", "root", "password");
?>
</BODY>
</HTML>
As you see I left the @ out in front of the mysql_connect! This gave me the following error:
Fatal error: Call to unsupported or undefined function mysql_connect() in C:\Inetpub\wwwroot/Data.php on line 9
Any ideas?
Thanx in advange
EMB
------------------
so never mind the darknes, we still can find the way. Cause nothin' last forever, even cold November rain.(Rose)
In the php3.ini file I deleted the ; in front of the extension php3_mysql.dll line
but left the space in front of it. when I swift the extension to the beginning of the line it worked just fine
What a little setting can do!!
Well, let's get further with the tutorial.
BTW. great stuff Kevin
EMB
------------------
so never mind the darknes, we still can find the way. Cause nothin' last forever, even cold November rain.(Rose)
Bookmarks