You know, what... I was dumb. The error output was turned off in my php.ini file =P
Now I will go through the other myriad of threads with the same error I have (mysql_connect undefined) to find the solution. Thanks for the help.
So, I've just started using Php/apache/mysql on my linux box. I use php in my pages and I can access mysql from the command line with user=root and pwd=rootpwd. However, when I run this code:
<?php
echo "Starting...<br>";
$connect = mysql_connect('localhost','root','rootpwd');
if (!$connect) {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.