01.12.2015, 14:42
Wouldn't use this. The code is truly horrible. It sends a new query for each item, seriously misusing the limit keyword at that. Table rows should be created within a loop by PHP, not by sending multiple separate queries for each row. The entire page can be generated with just two or three queries.