Re[2]: "global" variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Torsten,

Monday, March 1, 2004, 6:30:11 PM, you wrote:

TL> You mean this will unset $v_dec["page_no"]?

Well $page_no at that point in your script equals nothing, so yes - it
will always make $v_dec equal nothing.

TL> This explains why at reload of index.php happens what happend.
TL> But how to solve it? I _have_ to store some variables anywhere.

Yes agreed - but you cannot store them in a variable because they will
be lost each time the page reloads. Why not store them in a cookie?

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux