hi
i have this code bellow that i run on my game site cron to set users with top points as featured profiles. but now i wonder how i can make a [I][B][U]new
can some kind person please help with this?
thanks in advance.
[code=php]
$sql = mysql_query(“SELECT fid FROM users ORDER BY today_points DESC LIMIT 1”);
if (mysql_num_rows($sql)) > 0) {
$result = mysql_fetch_array($sql);
$update_user = mysql_query(“update users set featured_profile = featured_profile + 1 where userid = ” . $result[“fid”] . ” limit 1″);