|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Select One, Browse Others
Ok, I'll admit to know being a PHP/MySQL wiz. . .
But, this has been driving me crazy. I have been looking all over the web and still can't seem to find an answer or maybe I'm not able to work it out myself. SO, here's what I'm trying to do. Basically it's a table of contact info with a bunch of fields including the unique, auto-increment field of $id. List view page has all the records (or subset of 10, let's say) with a link to view more info on a specific record (I only show a few fields on the list page). So, on the detail page, I list all the fields and want the user to have browse capabilities in this view. I can't figure this one out. I can get the pagination fine for all records one at a time, but when you start at a specific $id and then build the prev/next links based on that $id I give up. Thanks for your help! -John |
|
#2
|
|||
|
|||
|
RE: Select One, Browse Others
Quote:
I really can spell. . .should have been: Ok, I'll admit to NOT being a PHP/MySQL wiz. . . -John |
|
#3
|
|||
|
|||
|
RE: Select One, Browse Others
|
|
#4
|
|||
|
|||
|
RE: Select One, Browse Others
Hi Zack,
Thanks for the code, I got caught up in some other stuff and haven't been able to take the time to check it out. I apprecitate it, though! -John |
|
#5
|
|||
|
|||
|
RE: RE: Select One, Browse Others
Quote:
This one will work (as you say) only if there will be no gabs in identity column. And very probably there will be gabs. So normal way to go around this is to insert values into worktable with new auto-identity column. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Select One, Browse Others |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|