Last SQL query: SELECT * FROM 2_cat_4 WHERE url = 'js/'+t.attr(' ORDER BY ord DESC LIMIT 1