Hi Steve,

> While programming I stumbled across this - can anyone reproduce  
> this, or is it just a bug in my system? Replacing the $currtag in  
> the final foreach loop with &$currtag causes it to behave as  
> expected, but the code as pasted below is obviously badly  
> dysfunctional. Is anyone able to shed some light on this?

This looks fine to me - can you post what you're expecting?


> print_r($tags);
> foreach($tags as $currtag) {
>         print_r($tags);
> }

Did you mean to print_r($currtag)?


Kind regards,
James McGlinn
__________________________________
CTO
Eventfinder Limited
Suite 106, Heards Building
2 Ruskin Street, Parnell, Auckland 1052
Phone: +649 365 2342
Mobile: +6421 633 234

[EMAIL PROTECTED]  |  www.eventfinder.co.nz


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to