if (count($array) == count($array, COUNT_RECURSIVE))
{
echo 'array is not multidimensional';
}
else
{
echo 'array is multidimensional';
}
http://stackoverflow.com/questions/145337/checking-if-array-is-multidimensional-or-not
if (count($array) == count($array, COUNT_RECURSIVE))
{
echo 'array is not multidimensional';
}
else
{
echo 'array is multidimensional';
}
$(document).keyup(function(e) {
if (e.keyCode == 27) { some_code_here } // esc
});
http://api.jquery.com/event.preventdefault/$( "a" ).click(function( event ) {event.preventDefault();});
window.parent.location.href= "http://www.google.com";
order deny,allow
deny from all
allow from 111.222.333.444