Hello once again, helpful PHPBuilder friends
My new problem lies in a quest page...
I want a user to be able to take a quest (test) on my quest page... but only one time...
say i have a list of quests:
Quest #1 (dragon killing)
Quest #2 (wizard helping)
Quest #3 (Lady saving)
Quest... ect...
and they are the links used to enter a quest... and their link looks like:
$row = mysql_fetch_array($result)
{
$id = $row["id"];
$title = $row["title"];
$question = $row["question"];
$reward = $row["reward"];
$money = $row["money"];
$level = $row["level"];
$atk = $row["atk"];
$dfs = $row["dfs"];
<a href='quest.php?link=$id'>$title</a>
and my question for help comes here...
How do i make it so if they try to enter a quest a second time... it says:
"Error. You have already taken this quest... Sorry."?
I would only need to regulate about 30 computers...
Like... this quests are only going to be played by 30 computers as a beta test in my computer tech 2 class. There for, blocking the ip might work, but i dont know how to...
what about assigning each quest a "special" number that gets thrown into a "users" table in phpMyAdmin under a coloum like "Quest_complete".
and every time you enter a quest, It adds that special # to your "quest_complete" coloum, and when you try to re-enter the quest. It says "Sorry the special number has been already recorded for this quest, Please try agian..."
is there any posibility in that?
Thanks
Erik~~~