[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 } [/snip] I mean starts with a digit, sorry for 2 emails. I should proofread. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php