PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How do I get the number items I query without looping out my result?
This problem is coming up for me as I'm working on a photo album. I display a thumb for each album that the user can select and list how many pictures are in that album, but obviously I wouldn't want display anything from those albums I only need the number of pictures.