Re: ergi

From: Date: Wed, 15 Nov 2000 17:51:49 +0000
Subject: Re: ergi
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25476@lists.php.net to get a copy of this message
On Wed, 15 Nov 2000, callen wrote: > Hola: > > I am trying to parse the following xml: > > <OriginZip country="US">54022</OriginZip> > > with this code: > > > if ( eregi ( "(<OrginZip country=\"US\">)([0-9]{5})(/OriginZip>)", > $results, $regs)) > > > Something doesnt jive and $regs[i] is always empty...???? > > Any help appreciated! > Just off the top of my head, I'd say your missing the < at the beginning of the closing tag. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.general (#25476) next »