RE: finding a particular record within a MySQL result set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> You will probably get a better approach from the mysql list, 
> but from a PHP
> solution perspective, I'd load up an array with the result 
> set and use key()
> to get the number.
> 
> The example at http://php.net/key does exactly that.
> 

Or array_search()  :)

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux