[snip] if($data[$currentVarNameInCycle]) { do something } Is there some way force the recognition of the key when it leads with a digit? [/snip]
not sure I follow 100% but you could use a regular expression to detemine if it starts with a string. if (preg_match('/^\d/',$array_key)) { //do something } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php