<?php $page = ( isset( $_GET['id'] ) ) ? $_GET['id'] ? 'news'; // if the `=> 0` bothers you, use array_flip instead ...
PHP On Content Page Include
by Jalenack,
October 04, 2007 22:25
<?php $page = ( isset( $_GET['id'] ) ) ? $_GET['id'] ? 'news'; // if the `=> 0` bothers you, use array_flip instead ...
in_array is slow, but you c...