DB_Pager: throws error when you manually change the URL parameter - how can you error check?

From: Date: Tue, 23 Aug 2005 18:38:10 +0000
Subject: DB_Pager: throws error when you manually change the URL parameter - how can you error check?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20554@lists.php.net to get a copy of this message
It looks like there's a array: data['current'] data['firspage'] data['lastpage'] data['pages'] When you change the URL parameter "from=", it throws as error: Warning: Cannot use a scalar value as an array in C:\...\page.php on line 66. My line 66 is: foreach ($data['pages'] as $page => $start_row) { What do I need to do to error check for THAT url parameter? Thanks. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

« previous php.pear.general (#20554) next »