Jump to content


Photo

Threading


  • Please log in to reply
3 replies to this topic

#1 lamia

lamia
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 December 2004 - 12:13 PM

Hi, I've done this sort of thing before in ASP.Net using the VB.Net IDE where for example you got 100 records and you want to split them up into several pages of 10 records each like this...



-------------------------------------
-------------------------------------

SOME TEXT HERE



-------------------------------------
Prev 1 2 3 4 5 6 7 8 9 10 Next
-------------------------------------

I wonder if such thing is possible with dreamweaver?



#2 Pilot-Doofy

Pilot-Doofy
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationMustywindows.com!

Posted 29 December 2004 - 09:21 PM

I wonder if such thing is possible with dreamweaver?

Do you want the different pages of text contained in a single page and only passing variables such as page.php?page=4 or whatever?

If you just want different page it is very easy, just save different files. If you want them contained within one page you can use if statements, databases, file();, or a few other options.

Please clarify.

#3 czambran

czambran
  • Staff Alumni
  • Advanced Member
  • 52 posts
  • LocationFairfield,IA

Posted 29 December 2004 - 09:38 PM

it is also called pagination. There is one very good tutorial here on the phpfreaks site. Look for it.
Chris
Using undefined variables in PHP is not an error, just sloppy coding practice. PHP5 Power Programming BOOK
--------------------------------------------------------------------------
PHP F.A.Q.
Linux User #394154

#4 Incessant-Logic

Incessant-Logic
  • Members
  • Pip
  • Newbie
  • 9 posts

Posted 13 January 2005 - 09:49 PM

Or you can use a server behaviour, repeat region then recordset paging. Admitedly that won't get you page numbers directly thats a bit more involved.

IL




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users