Rockstar
07-11-2006, 07:33 PM
Can some one config this properly if work ill give you rep
Here it is
<?
ob_start(); // allows you to use cookies
$conn = mysql_connect("localhost","zade_panel","zade_panel");
mysql_select_db(zade_panel) or die(mysql_error());
//fill in the above lines where there are capital letters.
$logged = MYSQL_QUERY("SELECT * from staff WHERE id='$_COOKIE[id]' AND password = 'panel[pass]'");
$logged = mysql_fetch_array($logged);
//the above lines get the user's information from the database.
?>
Here it is
<?
ob_start(); // allows you to use cookies
$conn = mysql_connect("localhost","zade_panel","zade_panel");
mysql_select_db(zade_panel) or die(mysql_error());
//fill in the above lines where there are capital letters.
$logged = MYSQL_QUERY("SELECT * from staff WHERE id='$_COOKIE[id]' AND password = 'panel[pass]'");
$logged = mysql_fetch_array($logged);
//the above lines get the user's information from the database.
?>