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