advanced code snippet search
ishkur on 07/22/08
ifsetor php6
07/22/08 03:08am
1 person have marked this snippet as a favorite
iTony
/** * $id = ifsetor($_GET['id'], 1); */ function ifsetor($var, $def){ return isset($var) ? $var : $def;}
Report this snippet Tweet
Comment:
You need to login to post a comment.