MySQL Query Question
Posted: Wed Mar 24, 2010 3:48 pm
Hello friendly board members,
What is the best code to query a MySQL database and retrieve items X through Y with PhP? For instance, what if I wanted to retrieve items with "id"s of 10 through 15 or perhaps the 5 most recently added items?
Thanks,
Chi
What is the best code to query a MySQL database and retrieve items X through Y with PhP? For instance, what if I wanted to retrieve items with "id"s of 10 through 15 or perhaps the 5 most recently added items?
Thanks,
Chi