CodeIgniter Forums
Counting results - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Counting results (/thread-44958.html)



Counting results - El Forum - 09-02-2011

[eluser]Unknown[/eluser]
I have two tables:
gallery (id_gallery, title,info)
and
gallery_images(gallery_id,image, image_thumb, title)
In gallery_images I can insert image and associate it with appropriate gallery.
I am trying to make this result on a landing page:
Gallery xyz have # images.
Gallery xxz have # images.
How can I do this?