I am using Yahoo hosting.
When I run my script, I get error on line 16, which is
@ $db = mysql_pconnect(,'nitmal','xcxcxcxcx');
Should there be a parameter I need to pass before user name
I will greatly appreciate yr help
Dont use mysql_pconnect(), and the syntax would be...
$db = mysql_connect('','nitmal','xcxcxcxcx');
You might even try using localhost as the host name.
$db = mysql_connect('localhost','nitmal','xcxcxcxcx');
You get error? Even after inserting a proper article, "I got an error" is not very descriptive.
Which one? PHP and MySQL offer a wide selection of errors... all of them usually aptly describe the problem at hand.
Also, if you ever get an error working with MySQL, it's wise to echo out the contents of [man]mysql_error/man for debugging purposes.