[nycphp-talk] Extracting an int from a query string.
John Campbell
jcampbell1 at gmail.com
Tue Nov 13 14:29:33 EST 2007
> $page_index = ctype_digit($_GET['page']) ? $_GET['page'] :
> $default_page;
Thanks Dann,
I will start using that from now on. Easy to read, works with 0.
More information about the talk
mailing list