The "General Games Chat" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
$cookie_username = ; //please insert the name of the variable of the username stored in the cookie.
$cheatguru_id = ""; //Please insert cheatguru's id in the member's table
$table = ""; //The name of the member's table.
$user_field = "" //The name of the field the usernames are kept in.
$data = mysql_query("
SELECT * FROM $table WHERE $user_field = '$cookie_username'
");
$info = mysql_fetch_object($data);
if ($info->id == $cheatguru_id) { ?>
} ?>
;-)
> Hands up all who understood!
*raises hand*
Yep, does exactly what Girx said.
OK then, please can you get the actual webmaster to read in the morning?
> Hands up all who understood!
I get the gist but I don't read or write PHP.
Secondly, it's supposed to come up as code, so Tony can look at it and hopefully laugh.
Better yet, he can use it.
It just comes up as the code on the forums!