In your MySql query you can put a condition to exclude the unwated 3
records.
example: select * from tablename where not(id in (1,2,3))

"Mark Sweeney" <[EMAIL PROTECTED]> wrote in message
000e01c1568c$af4aa740$96ab869f@a">news:000e01c1568c$af4aa740$96ab869f@a...
Hey,

Just wondering, I am fetching a load of ids and names from a Mysql database.
However, I want to exclude 3 of the results from this based on their id
numbers. How would I go about this? An array_filter? And if so, what would I
do? sorry for my isiocy, but I am still learning and its pretty urgent for
me to find this out.

Thanks

Mark




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to