Forum Moderators: coopster
Warning: mysql_query() [function.mysql-query]: Access denied for user 'user'@'localhost' (using password: NO) in /home/rickyb/public_html/styles/profile.php on line 3
This is my code:
<?php require("http://www.example.com/styles/connect.php");?>
<?php
///// converting Username to a valuble, This cannot be changed
$placeholders = array("{username}");
$username = $placeholders[0];
?>
<?php require("http://www.example.com/styles/profile.php");?>
In the connect.php it has all the db and connection information and in the profile.php it has my <html> bla bla , mysql_close(connect)</html>, but it keeps giving me an error when i do it this way?
Any ideas would be much appreciated :):):)
Thanks again
Ricky
[edited by: eelixduppy at 3:08 am (utc) on Jan. 27, 2008]
[edit reason] example.com [/edit]