> >
> > I would like I can preserve value of $value now is 3 when I
> > come back to
> > page1.php from page3.php , when I come back page1.php value
> > of $value is now
> > set to 1, please help me , thanks
> >
> >

you also gonna have to add some extra scripting here, coz page1 is always
setting $value to 1, regardless of what sessions are going on...

try something like

if( !isset($value) )
    $value = 1;

this way if the value is not set, then it'll make it 1, if it's already set
(through your sessions), it'll leave it alone...

this is providing your sessions are passing the value properly...



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

Reply via email to