I have a php page that outputs a list sorted by a field in ascending order. In order to sort the output in descending order, I have a link to an identical page with DESC added to the end of the query. I would like to do this with a single page. How can I add a link to the page that would reload...
I'm joining two MySQL tables linking the JobNo field on one to the JobNumber field on the other.
SELECT * FROM drawings LEFT JOIN jobs ON drawings.JobNo = jobs.JobNumber
$result = mysqli_query($link, $query);
This works as intended but I have a field called Revision in both tables and the data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.