Return to Snippet

Revision: 31312
at September 2, 2010 20:48 by jamepaul


Initial Code
<?php
    function check_empty($args=array()) {		
        foreach($args as $arg) {
	    if (empty($arg)) {
	        return false;
            }
	}		
    }
?>

Initial URL


Initial Description
I don't want to write function empty() again and again.

Initial Title
POST or GET data empty check

Initial Tags
php

Initial Language
PHP