I would like to make the users profile public or private and I have coded something in PHP. But I am getting following error:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'gooyanet'@'localhost' (using password: NO) on line 7
And also:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established on line 7
Here is a link to my code.
It would be great if you help me with that ...