Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread olinux
If there are variables you dont want passed in the link, just use sessions. nothing wrong with using both olinux --- Bogdan Stancescu <[EMAIL PROTECTED]> wrote: > So many suggestions, so little time! The URL thing > is a great idea if you don't > have any problems with users seeing the variables

Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Bogdan Stancescu
So many suggestions, so little time! The URL thing is a great idea if you don't have any problems with users seeing the variables being passed by your script (not that this was the issue I had in mind when I suggested my solution - it just skipped my mind). So, if you'd rather implement the forms

Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Jim Lucas [php]
e the easiest way? if not, please let me know, cuz I am using that for pagination throughout my site via a couple function calls. Jim - Original Message - From: "olinux" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 28, 2001 2:58 PM Subject: Re: [P

Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread olinux
Aren't all these form solutions making things more complex than they need to be? Why not just pass the parameters in the URL Use php to echo out start_at and end_at variables ie. http://website.com/search.php?keyword=something&start_at=15&end_at=30";>2 http://website.com/search.php?keyword=somet

RE: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Leotta, Natalie (NCI/IMS)
t; Subject: RE: [PHP-DB] Passing parameter in Paging > > You could make hidden vars in your HTML page (in a form that submits to > your > PHP), alter their values in the JS, and then when you submit to the PHP it > will have those. Then you can use $HTTP_POST_VARS to access the va

RE: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Leotta, Natalie (NCI/IMS)
way works. -Natalie > -Original Message- > From: Mihail Bota [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 28, 2001 11:53 AM > To: Bogdan Stancescu > Cc: Karthikeyan; [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Passing parameter in Paging > > Bogdan, i

Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Mihail Bota
Bogdan, in this respect, I have a question: can I pass the values of javascript variables to php variables? if yes, how? Mihai On Fri, 28 Dec 2001, Bogdan Stancescu wrote: > I don't understand why you won't use forms with buttons and hidden controls > since you know about this solution. I have

Re: [PHP-DB] Passing parameter in Paging

2001-12-28 Thread Bogdan Stancescu
I don't understand why you won't use forms with buttons and hidden controls since you know about this solution. I have two suggestions along this line: 1. You probably don't want buttons on the page -- you may use image icons instead (similar to a tape recorder's "play" and "fast forward" for next

[PHP-DB] Passing parameter in Paging

2001-12-28 Thread Karthikeyan
Dear members, I am querying a Mysql database, which will result in 100 of records. I want to display 10 records in each page. First page it is working fine. When I navigate to second page it is not working. When I used hidden controls. Hidden controls send the details to next page only by usin