Jump to content

im making a file host site but i want a auto update earn


andy1090

Recommended Posts

$connet = mysql_connect("host", "db_username", "pass") or die(mysql_error());

$user = $_SESSION['SESS_FIRST_NAME'];
mysql_select_db('db_name, $connet) or die(mysql_error());

mysql_query("SELECT members Get $earn='earned' WHERE $user='username' LIMIT 1;");
$earn = $total_earn;
?>
<a>$<?php echo "$total_earn";?></a>

 

 

 

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.