\n"); print (""); print (""); print (""); print(""); $query = "SELECT * FROM ColourBoxCatsWanted GROUP BY email, Model ORDER BY updated DESC limit 20"; if (ExecuteQuery($linkdb, $result, $query)) { while ($row = NextRow($result)) { $Model = urldecode($row['Model']); $ModelName = urldecode($row['ModelName']); $Updated = urldecode($row['updated']); $Updated = substr($Updated,6,2)."/".substr($Updated,4,2)."/".substr($Updated,0,4); print(""); print(""); } } print ("
\n\n
Latest Cats added to our WANTED List
(If you add a Cat Model for sale, all those people wanting these items will be emailed)
 
Model CodeModel NameAdded

$Model$ModelName$Updated

\n"); include "cats-footer.html"; ?>