Hey all... I am really new to PHP and MySQL and just inherited a website using this with Javascript last week. The problem that I have encountered is the following error:
mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /c43/mens1/cgi-bin/mhn_urls.inc
mysql_query(): A link to the server could not be established in /c43/mens1/cgi-bin/mhn_urls.inc
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /c43/mens1/cgi-bin/mhn_urls.inc
Here is a link to the site: http://www.menshealthnetwork.org/php/mhn_urls.php
Thanks for the help - I am cracking open a PHP help guide right.
Newbie to PHP - Running into error with linking to my_sql
Moderator: General Moderators