Is this possible!
I have a table of vehicles, there is a field called status. When a vehicle
is sold its status = sold and a field called date_sold also ends up with a
PHP timestamp in it, so I know when it was sold.
I only out put on screen the last 40 vehicles sold (in a photo gallery).
This is easy using LIMIT, order By date_sold DESC etc.
But what I want to is with all the vehicles that have been sold, that no
longer appear in the gallery, I need to alter their data.
How do I run a query to get all sold vehicles less the last 40 sold?
I hope that makes sense.
YoBro
I have a table of vehicles, there is a field called status. When a vehicle
is sold its status = sold and a field called date_sold also ends up with a
PHP timestamp in it, so I know when it was sold.
I only out put on screen the last 40 vehicles sold (in a photo gallery).
This is easy using LIMIT, order By date_sold DESC etc.
But what I want to is with all the vehicles that have been sold, that no
longer appear in the gallery, I need to alter their data.
How do I run a query to get all sold vehicles less the last 40 sold?
I hope that makes sense.
YoBro