Movin' on up the learning curve here....
can't get a php script to connect to a mysql:table as in:
$db = mysql_connect("localhost", "root", "") or die("could not connect");
mysql_select_db("online",$db);
$result = mysql_query("SELECT AccountID FROM member WHERE fullname =Billy Bob", $db);
$myrow = mysql_fetch_array($result);
$AccountID = $myrow["AccountID"];
I've tried replacing "localhost" with "/path/to/socket", but we still get
"could not connect"
also with and without the password, also with the port number.
Can anyone give me a hint here what I'm doing wrong?
JT