[PHP-DB] select question

2001-08-21 Thread Scott Chapman
Hi, When doing a select of the form SELECT blah FROM blah WHERE blah=blah AND blah=blah; is there any way of doing it with an OR ie;- SELECT blah FROM blah WHERE blah=blah OR blah=blah; or any other way in which I could do something similar? thanks in advance lee -- PHP Database Mailin

[PHP-DB] order by date

2001-08-09 Thread Scott Chapman
Hi, I am querying a mysql database and am returning data ordered by date, the trouble is it returns the data from least recent to most recent, I want it to return the data the other way round. Is there a way of having the mysql database doping this re-ordering for me rather than coding it myself