Guest User

Untitled

a guest
May 12th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $prof_id = array(1,2,3,4);
  2. //assuming $membertype_id is defined and is correct(which it is)
  3. if($membertype_id !== $prof_id){
  4. echo "good";
  5. }else{
  6. echo "bad";
  7. }
  8. The issue would be that it would always echo 'bad'.
Advertisement
Add Comment
Please, Sign In to add comment