Bullet Posted August 24, 2008 Share Posted August 24, 2008 <td class='TableArea'><a href='jcFamily.php?kick=$user'>Kick</td> I need it so ou can choose which member to kick. When I click on Kick is kicks the member at the bottom of the table. Heres my PHP: if (strip_tags($_GET['kick'])){ if ($kick== $owner || $kick== $rhm) { echo "You cannot kick the leader or underboss."; } else { $check1=(mysql_query("SELECT * FROM users WHERE username='$kick' AND crew='$crew'")); $num_check_rows=mysql_num_rows($check1); if ($num_check_rows == "0"){ echo "That user is not in your family!"; }}else{ mysql_query("UPDATE users SET crew='0' WHERE username='$user'"); echo "You kicked $user."; }} Any help? Link to comment https://forums.phpfreaks.com/topic/121085-solved-wont-let-me-choose/ Share on other sites More sharing options...
Bullet Posted August 24, 2008 Author Share Posted August 24, 2008 Fixed, the problem was in the coding Link to comment https://forums.phpfreaks.com/topic/121085-solved-wont-let-me-choose/#findComment-624220 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.