How would I make it plus 10 to every users coin row while doing it automaticly every day.

<?
include('dbConfig.php');
$get = mysql_query("UPDATE admin SET coins='' WHERE banned='0'") or die(mysql_error());
?>

If you want to run a certain script everyday requires putting the script in your CRON processing. I personally haven't done it, but I do know it has to do with putting the script on the server and setting it up in your cron.

Research 'Cron' on google perhaps? Hope this helps!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.