Mobile Web Browser Magic 8-BallPosted: March 13, 2009 | Author: tech0x20 | Filed under: bookmarks, php, programming | Tags: fun | Leave a comment »
I still want to be able to detect the whether mobile or not so that it will work (and be optimized) for where the user is coming from.
$selection = rand(0, count($responses)-1); ?>
The magic 8-ball says:
echo "[".$responses[$selection]."]"; ?>