help!!!
Just teaching myself php and mysql I have a vb and msSql background
I have installed mysql and can connect to it though ODBC with user name and password blank
I have created a user called phpUser with the same password. I believe I have set permissions but I must have missed something but I can’t see
I have also written a php script but after priniting my name twice it does nothing I was hoping to see something from the Die statement. If anyone could point me in the right direction that would be greatly appreciated
thanks jasemilly
<?php print "Hello Web! jasemilly"; print "Hello Web! jasemilly"; $link = mysql_connect('localhost',phpUser,phpUser); print "Hello Web! jason2"; if (!$link) { die('Could not connect: ' . mysql_error()); } print "Hello Web! jason2"; echo 'Connected successfully'; mysql_close($link); ?>