> I have a advance search page, similar to this > http://www.shaadi.com/partner_search/matrimonial_search/advancedmarriage se > arch.php (mine on local server). > > I can create the sql statement for it ...the only problem i have is > passing the all variables from page to page in record navigation..(I use > function for the record navigation) > > for example if the query retrive 20 records and i am dispalying 10 records > per page... when i click on next page.. the search result would be > completely different from the first page.. :( > > Has anyone done similar search page?? any help would be greatly > appriciated... and many thanks for responding to my early question.
Well, you need to maintain the search criteria somewhere. You can use either GET, POST, COOKIE, or SESSION. You can include all of the criteria as hidden fields and use POST, or attach them all into a QUERY_STRING in the URL of a link and use GET, or put them all into COOKIEs to retrieve on the next page, or finally, put them all into the SESSION to retrieve on the next page. ---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php