Re: [PHP] PHP/MySQL Interaction

2002-12-12 Thread Brad Bonkoski
Wouldn't this involved a sub-query? i.e. select * from images where ( select * from categories where cat_id = 3 AND cat_id != 5) Now, the question is, do the more recent versions of mysql support subqueries? Take a look at: http://www.mysql.com/documentation/mysql/bychapter/manual_Introduction

[PHP] PHP/MySQL Interaction

2002-12-12 Thread David Freeman
Hi All This is probably off-topic here and my only real excuse is that after having searched google as well as both php and mysql sites/manuals I'm no closer to an answer for something I'd like to get solved this morning... I have two database tables (mysql). One contains information about image