Im looking to get rid of the "nothing" part of this ifelse. How would i change the ifelse to do that?
if($_SESSION['userid'] == $replys["reply_user"]){ echo 'nothing'; }else{ echo 'Your not allowed to do that!!'; exit(); }
if($_SESSION['userid'] <> $replys["reply_user"]){ echo "You're not allowed to do that!!"; exit(); }
PS the grammar lesson is a free bonus.
if($_SESSION['userid'] != $replys["reply_user"]){ echo 'Your not allowed to do that!!'; exit(); }
Thought it was something simple. Thanks guys.