Thank you in advance.
How to create php paging with 2 tables
Moderator: General Moderators
-
cgmayhemxx
- Forum Newbie
- Posts: 1
- Joined: Wed Jun 02, 2010 5:36 pm
How to create php paging with 2 tables
Hello I just joined this forum and I have a problem. I hope someone can help me about this
. Let say I have 2 tables One called services other one called Forsale basically what i am trying to do is combine the result of these 2 tables and show it to user with page breaks. There are total of 100 records(2 tables combined) so I wanna show 20 records on each page when user clicks next I want it to show next 20 records from both tables. I can do this with one table with no problem but when I try to combine 2 tables it only show the records from the second table which is total of 10 but it doesnt combine it with first table. If you can point me to right direction I would appreciate it.
Thank you in advance.
Thank you in advance.
- markusn00b
- Forum Contributor
- Posts: 298
- Joined: Sat Oct 20, 2007 2:16 pm
- Location: York, England
Re: How to create php paging with 2 tables
Post the code that's giving you problems. Then we can deduce where you're going wrong. 