Re: [PHP] Getting Numerical Index of a Key

2003-03-04 Thread Justin French
on 04/03/03 5:47 PM, Matt Honeycutt ([EMAIL PROTECTED]) wrote: I'm just going to spend the extra 5 minutes and rewrite that little chunk of code. Sounds like the right move :) Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
Is there an easy way to get the numerical index of a text key for an array? I don't see anything in the manual, but before I waste time writing code to find this info, I thought I would double check here. ---Matt

Re: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Leif K-Brooks
What makes you think it HAS a numerical index? Matt Honeycutt wrote: Is there an easy way to get the numerical index of a text key for an array? I don't see anything in the manual, but before I waste time writing code to find this info, I thought I would double check here. ---Matt -- The

RE: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
everything up. ---Matt -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:35 AM To: Matt Honeycutt Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Getting Numerical Index of a Key What makes you think it HAS a numerical index? Matt Honeycutt wrote

Re: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Leif K-Brooks
: Re: [PHP] Getting Numerical Index of a Key What makes you think it HAS a numerical index? Matt Honeycutt wrote: Is there an easy way to get the numerical index of a text key for an array? I don't see anything in the manual, but before I waste time writing code to find this info, I thought I

RE: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
To: Matt Honeycutt Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Getting Numerical Index of a Key No, there's no easy way to do this. Just out of curiousity, why do you want to do this anyway? Matt Honeycutt wrote: Because I created it with mysql_fetch_array(). I know for a fact that both keys exist