Re: [PHP-DB] Dynamic Navigation with Limit

2008-04-03 Thread Jon L.
1) Something that stands out is one of your links: if ($screen > 0) { print < "; } The '$' in '?$screen' is probably not helping, as that'll probably translate to '?0=1' (or similar). And, don't you want that to be ($screen - 1)?? 2) Depending on what version of PHP you're running.

[PHP-DB] Dynamic Navigation with Limit

2008-04-03 Thread Nasreen Laghari
Hi, I'm trying to put limit of data fetch as well as dynamic navigation. Below is the try which I did but something is going wrong as $screen value is not increasing so when I click on NEXt button it refreshes the same page and Previous button does even show. Could you kindly have look on the

Re: [PHP-DB] php4 to php5

2008-04-03 Thread Greg Bowser
Sounds like you're talking about the register_globals functionality. It's a php.ini setting that will cause $_POST['foo'] or $_GET['foo'] to be copied to the global variable $foo. This is somewhat of a security risk, thus disabled by default. There's another superglobal array that you might find u

[PHP-DB] php4 to php5

2008-04-03 Thread ioannes
I suppose I am behind the time in migrating from php4 to 5. That said, my main problem is getting variables recognised. I can see how to do it - you need to identify all the variables that could be sent from the page and then assign a name, as in $myvar=$_GET['myvar'] and ditto for POST varia