I'm new to even trying to use php. I get that error when I click on the activation link that comes in the email. Please help. Thanks!
<?phpinclude 'database.php';$id = mysql_real_escape_string($_GET['id']);$query = mysql_query("SELECT * FROM users WHERE actkey = '$id' LIMIT 1") or die(mysql_error());$row = mysql_fetch_array($query);?><HTML><HEAD><TITLE>Dominant Evil</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><SCRIPT SRC="class/boxover.js"></SCRIPT><style>body {background: #1E1E1E url(images/index_01.jpg) top repeat-x;color: #fff;font-size: 11px;font-family: Verdana;}td {color: #fff;font-size: 11px;font-family: Verdana;}#foot {color: #fff;font-size: 11px;font-family: Verdana;width: 808px;height: 24px;background: #1E1E1E url(images/footbg.jpg) top center repeat-x;}a, a:visited {color: #D9C5C5;font-weight: bold;text-decoration: none;}a:hover, a:active {color: #fff;font-weight: bold;text-decoration: none;}#head {background: #1E1E1E url(images/index_02.jpg) no-repeat;width: 808px;height: 154px;font-size: 11px;font-family: Verdana;}#menu {background: #1E1E1E url(images/index_04.jpg) no-repeat;width: 808px;height: 30px;font-size: 11px;font-family: Verdana;padding-top: 6px;padding-left: 16px;}#body {background: #1E1E1E url(images/index_05.jpg) repeat-y;width: 580px;height: 500px;font-size: 11px;font-family: Verdana;padding-top: 10px;padding-left: 20px;}#body-right {background: #1E1E1E url(images/index_06.jpg) repeat-y;width: 208px;height: 500px;font-size: 11px;font-family: Verdana;}input, select {font-size: 11px;}</style></HEAD><BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0><!-- ImageReady Slices (psd.psd) --><TABLE align=center width='808' BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR> <TD colspan='2' valign='top' id='head'> </TD> </TR> <TR> <TD colspan='2' valign='top' id='menu'><a href='index.php'>Homepage</a> | <a href='register.php'>Join the game</a> | <a href='resend.php'>Lost pass?</a> </TD> </TR> <TR> <TD valign='top' align='left' id='body'><?if(mysql_num_rows($query) > 0){ $user = $row['id']; $game_url = "http://www.demanic.pcriot.com/dc"; $email = $row['email']; $do = mysql_query("UPDATE users SET activated = 1 WHERE id = '$user' LIMIT 1") or die(mysql_error()); $send = mail($email , "Activaton confirmation" , "Thank you for activation.You are now fully registered member\n\nTo login, click: $game_url/\n" , "FROM: [email]game@demanic.com[/email]"); //echo $email; if(($do)&&($send)) { echo ' <div id="error"> <p>Activation successful! A confirmation email has been sent. You can now login!</p> <p><a href="login.php">Click here to do so!</a> za login.</p> </div>'; } else { echo ' <div id="error"> <p>Accept our apologies, seems that we have some kind of a problem. <br /> Try again later, or contact [email]game@bbgdev.com[/email] for help.</p> </div>'; }} else { echo ' <div id="error"> <p>Unijeli ste krivi aktivacijski kod. Pokusajte ponovo.</p> </div>'; }?> </TD> <TD valign='top' align='left' id='body-right'> <br /> </td> </TR> <tr> <td colspan='2' align='right' id='foot'>copyright by Nosf // 2008 | core engine by <a href='http://www.bbgdev.com/' target='_blank'>Dominant Creature</a></td> </tr></TABLE><!-- End ImageReady Slices --></BODY></HTML>