Jump to content

Warning: mysql_connect(): Access denied for user 'database usernam'@'localhost' (using password: YES) in /home/u781728022/public_html/require.inc.php


kaareka

Recommended Posts

<?
global $username;
require 'dconn.php';
session_start();

$username = @$_SESSION["username"];

$connection = mysql_connect($db_server, $db_user,$db_pass) or die(mysql_error());
mysql_select_db($db_name, $connection) or die(mysql_error());

 

--------

 

how can use this code i wanna know how put the server name and the user and pass / and thank's for helping 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.