Best practices for querying an entire row in a database table? (MySQL / CodeIgniter)
- by Walker
Sorry for the novice question!
I have a table called cities in which I have fields called id, name, xpos, ypos. I'm trying to use the data from each row to set a div's position and name.
What I'm wondering is what's the best practice for dynamically querying an unknown amount of rows (I don't know how many cities there might be, I want to pull…