Re: PHP 4.0 Bug #9539 Updated: extract() does not overwrite old values in a while loop with the EXTR_OVERWRITE

From: Date: Tue, 06 Mar 2001 13:30:09 +0000
Subject: Re: PHP 4.0 Bug #9539 Updated: extract() does not overwrite old values in a while loop with the EXTR_OVERWRITE
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-48040@lists.php.net to get a copy of this message
FYI, if you leave the textbox empty and only change the bug type, there won't be any emails sent to anyone. So if you want to just reclassify, only change the bug type. I changed it because I didn't want to spam the php-dev list all the time when just reorganizing reports. --Jani On 6 Mar 2001 stas@php.net wrote: >ID: 9539 >Updated by: stas >Reported By: scott@popularlink.com >Status: Feedback >Old-Bug Type: Scripting Engine problem >Bug Type: Variables related >Assigned To: >Comments: > >reclassify > >Previous Comments: >--------------------------------------------------------------------------- > >[2001-03-03 17:17:43] sniper@php.net >Please try the latest CVS snapshot from http://snaps.php.net/ as >I think >this is already fixed. > >--Jani > > >--------------------------------------------------------------------------- > >[2001-03-03 15:51:28] scott@popularlink.com >$sql = "select * from organization order by >regionalrequirement,organizationname"; >$result = mysql_query($sql); > > >while ($row=mysql_fetch_array($result)) >{ > > >// $organizationnameinchinese=""; >// if this line was not included .. the value >// $organizationnameinchinese would not get the new value >extract ($row,EXTR_OVERWRITE); > > >echo "The school listed are > > ><A href=vieworganization.php?orgid=$id>$organizationname ></a> > >$organizationnameinchinese<BR><BR>"; >} > >--------------------------------------------------------------------------- > > > >ATTENTION! Do NOT reply to this email! >To reply, use the web interface found at >http://bugs.php.net/?id=9539&edit=2 > > >

« previous php.dev (#48040) next »