On 7/23/07 8:47 AM, "Tim B" <[EMAIL PROTECTED]> wrote: > Here's the code: > # Escape for output into html > foreach ($event as $v1) > { > foreach ($v1 as $v2) > { > $v2 = htmlentities($v2, ENT_QUOTES, 'UTF-8'); > echo "{$v2}<br>";
V1 and V2 need to be references. See online php manual foreach ($event as &$v1) > { > foreach ($v1 as &$v2) _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php