From: Ondrej J. <ne...@po...> - 2002-12-24 16:41:36
|
I forgot to include list address as it can be also interesting and/or useful for others. -- _/| Ondrej Jombik - ne...@ph... - http://www.nepto.sk - OJ812-RIPE <_ \ Platon SDG - open source software development - http://platon.sk `\| UNIX is user friendly. It's selective about who its friends are! '` ---------- Forwarded message ---------- From: Ondrej Jombik <on...@Ma...> To: ch...@at... Reply-To: Ondrej Jombik <ne...@po...> Subject: Re: [PHPMyEdit-Discuss] filter loses value Date: Sun, 22 Dec 2002 09:16:54 +0100 (CET) Organization: Platon software development group (http://www.platon.sk/) X-Mailer: Pine 4.44 (Nepto config; Linux Maxim 2.4.19 on i686) > I'm running into a small problem that I hope someone will be able to > help me with. I'm passing a value from another pages dropdown box to my > phpMyEdit page to be filtered using $opts['filters'] = "Tester='$tester' > and Status='Open'"; > My problem is when I exceed more then the set number of records to display per > page and press the next key, I lose the value from the url. So then it no > longer filters the query with the passed value. The first page is diaplyed with > correct filter, but then the next page is not. Official way of this is to use cookies and set $tester appropriately. Unofficial currently in testing phase feature can do this more simplier. Use following option: $opts['cgi']['persist'] = array('tester' => $tester); Let me know if that works for you. -- _/| Ondrej Jombik - ne...@ph... - http://www.nepto.sk - OJ812-RIPE <_ \ Platon SDG - open source software development - http://platon.sk `\| UNIX is user friendly. It's selective about who its friends are! '` |