Re: Problem with Pager 2.1.0

From: Date: Mon, 12 Jan 2004 22:50:03 +0000
Subject: Re: Problem with Pager 2.1.0
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25022@lists.php.net to get a copy of this message
On Mon, 12 Jan 2004 23:35:34 +0100, Stephan Wentz wrote: > Lorenzo Alberton wrote: >> On Mon, 12 Jan 2004 22:44:56 +0100, Stephan Wentz wrote: >>> How do I add URL-Variables to the Pager? >>> Of course it adds all $_GET-Variables, but I need to carry a >>> few variables that come in through a POST-call first time. >> what about setting them as $_GET variables before building the >> pager? > > No, this does not work, Pager_Common reads the get-variables > through the $_SERVER['QUERY_STRING'] on line 572 :( > Any other suggestions? ahem... what about adding them to $_SERVER['QUERY_STRING'], then? :-D :-D Or: use <form method="get"> instead of <form method="post"> in your page... > Maybe there should be another option which receives an key-value- > array with url-parameters that should be added. yep, I may consider this as well... Now I'm fixing the non-catched Error raised in _setOptions(). One thing at a time :-) Best regards, Lorenzo

« previous php.pear.dev (#25022) next »