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

From: Date: Sat, 03 Mar 2001 22:17:43 +0000
Subject: PHP 4.0 Bug #9539 Updated: extract() does not overwrite old values in a while loop with the EXTR_OVERWRITE
Groups: php.dev 
Request: Send a blank email to php-dev+get-47862@lists.php.net to get a copy of this message
ID: 9539 Updated by: sniper Reported By: scott@popularlink.com Old-Status: Open Status: Feedback Bug Type: MySQL related Assigned To: Comments: Please try the latest CVS snapshot from http://snaps.php.net/ as I think this is already fixed. --Jani Previous Comments: --------------------------------------------------------------------------- [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 (#47862) next »