Re: [PHP] Get the beginning array number

2001-09-17 Thread Jason Bell
] if you are using php older than version 4, exchange the foreach loop with a while loop. - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Monday, September 17, 2001 4:46 PM Subject: [PHP] Ge

[PHP] Get the beginning array number

2001-09-17 Thread Brandon Orther
Hello, I have an array sent to my script that starts at different numbers each time. Here is an example $array[5] through $array[23] will have values but [0]-[4] will not. Is there a way for me to find the first element of an array with a value? Thank you,