if statement

From: Date: Sat, 29 Jan 2005 00:59:09 +0000
Subject: if statement
Groups: php.db 
Request: Send a blank email to php-db+get-38386@lists.php.net to get a copy of this message
Hi There, I am trying to write an if statement to see if an array has any values in it and if it does do something. for example: $ticklist2 = array("'$values") if (array_values(empty($ticklist2))) { do something } else { do something else } I just can't get this to work. Any help would be great. Thanks, Craig H.

« previous php.db (#38386) next »