I need some help with my code, I want it to refresh it self every month. But, I have tryed and searched all over. Someone her must know how i can get it to refresh it self?
I know that Meta don't work, then I must be on the page all time :s
<?php
include("connect.php");
$points = 0;
$update1 = mysql_query("UPDATE users SET login_points = '$points'");
$update2 = mysql_query("UPDATE users SET comment_points = '$points'");
$update3 = mysql_query("UPDATE users SET forum_points = '$points'");
$update4 = mysql_query("UPDATE users SET questbook_points = '$points'");
if(!$update1 && !update2 && !$update3 && !$update4) {
echo ("[color="red"]Database error[/color]");
}
?> Thanks,
Zetra
