Re: [PHP-DB] Array Transversing From: Jason Murray (jason <email protected>)
Date: 08/31/00

Stacy Hunter wrote:
>
> I have the results of a distinct select that gives me an array comprised
> of one of each field type under a given field heading. I would like to be
> able transverse the array with an if statemetn that if given a result
> variable will give me the next in the array. For example $variable =
> "one". $ARR = queryresult[zero,one,two,three]. If $variable = "one" give
> me the next in the array (two).
>
> Any thoughts?
>

Maybe you can include some example code/table structure?
Sounds like your making things harder than they need to
be - assuming I understand what you're asking, and I
doubt I do.

Jason Murray
Developer
jWeb New Media Design
(636) 928 61 32

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>