id is missing from your query, so it has no value. Use:
SELECT id, name FROM equipment_category ORDER BY id
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Please mark this thread solved.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875