Strange php problem

Posted by M28 on Stack Overflow See other posts from Stack Overflow or by M28
Published on 2010-05-01T12:13:18Z Indexed on 2010/05/01 12:17 UTC
Read the original article Hit count: 369

Filed under:

The following code:

print_r($_GET);
echo '<br />';
echo isset($_GET['logout'])?'yes':'no';

prints:

Array ( [logoout] => )
no

Why is it printing "no" instend of "yes"?

© Stack Overflow or respective owner

Related posts about php