CodeIgniter Forums

Full Version: How to fetch data from multiple tables on same page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to fetch data from multiple tables on same page
(03-28-2017, 05:36 AM)sumant Wrote: [ -> ]How to fetch data from multiple tables on same page

Maybe use a join?
@sumant

We need more information. Your request is very vague. How do you plan to use that data from multiple tables (i.e. multiple sections on same page)?
(03-28-2017, 07:59 PM)php_rocs Wrote: [ -> ]@sumant

We need more information.  Your request is very vague.  How do you plan to use that data from multiple tables (i.e. multiple sections on same page)?

@php_rocs 

yes
@sumant

Is this data related in any way? There are many ways to bring in data from multiple tables.
Joins,
Unions,
Views,
etc...
i think there is a full example i created before in my blog,you can take a look