Re: [PHP] Re: alter switch variable inside case?

2002-09-01 Thread @ Edwin
I'm not sure if you've already tried the idea I posted earlier. Anyway, I tried it myself and it works! (At least with this simple example...) !-- whatevername.php -- ?php echo 'myvar BEFORE the switch : ' . $_GET['myvar']; echo 'hr /'; switch ($_GET['myvar']){ case 1: $_GET['myvar'] =

[PHP] Re: alter switch variable inside case?

2002-08-31 Thread CHAILLAN Nicolas
Yes you can. -- Merci de nous avoir choisi. - Thanks you for your choice. Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] [EMAIL PROTECTED] www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet Joe Janitor [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL

Re: [PHP] Re: alter switch variable inside case?

2002-08-31 Thread Joe Janitor
Could you elaborate? In the example I posted, setting foo=step1 in the first case segment does NOT cause execution of the second case segment, as would be the case if it was actually re-evaluating the match upon subsequent case statements. --- CHAILLAN Nicolas [EMAIL PROTECTED] wrote: Yes