Error
Database Error: Unknown column '1' in 'order clause'
SQL:
SELECT SQL_CALC_FOUND_ROWS CONCAT('<img src="',display_photo,'"/width=200 height=100>') AS 'Photo',CONCAT('<a href="?ff_id=',ff_id,'">View</a>') AS ' ',ff_id AS 'ID',stock_no AS 'Stock Number', year AS 'Year Model', make AS 'Vehicle Make and Model', salv_destination AS 'Destination', resprice AS 'Reserve Price',DATE_FORMAT(ff_inserted_on, '%Y-%m-%d %l:%i %p') AS 'Inserted On',DATE_FORMAT(ff_timestamp, '%Y-%m-%d %l:%i %p') AS 'Last Updated' FROM salvage_db WHERE salv_destination='Stripping for Spares' ORDER BY `1` ASC LIMIT 0, 20