Reading DB and building a page with info from DB!?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
seppel2k
Forum Newbie
Posts: 1
Joined: Sat Nov 29, 2003 12:11 pm

Reading DB and building a page with info from DB!?

Post by seppel2k »

Hi,

I want to read out a SQL db using php and building a result page using php with the info from the sql db.
But I really don't know how to generate the code to build the page...the problem is, I want only 5 results per page...so if my db has 10 entrys, I need 2 pages...!!!
Can anyone help me...?

Thx Seppel
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

[google]php paging sql result tutorial[/google]
Google is your friend ;)
Post Reply