Okay, first and foremost I just want to say that I would appreciate any help possible on this topic and I am sorry if I annoy someone with my question. I have researched this topic and have done all that I can think of to get the "mysql_connect" function to work, however I still get a
"Fatal error: Call to undefined function mysql_connect()"
I have
1) edited my windows path to include (not using autoexex.bat btw) C:\PHP\
2) copied "libmySQL.dll" to my C:\PHP\ Directory
3) edited my main php.ini to enable the extension ";extension=php_mysql.dll" by omiting the ";" from the line.
If anyone could help me amend this problem, it would be most appreciated.
regards,
Brandon
urr the code.
<?php
$con = mysql_connect("localhost","lalala","lalala");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
?>