Re: [PHP4BETA] extract() not work so good in b4pl1

From: Date: Thu, 23 Mar 2000 20:12:25 +0000
Subject: Re: [PHP4BETA] extract() not work so good in b4pl1
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12540@lists.php.net to get a copy of this message
Additional info i just discovered is that if you don't have extract() overwrite existing vars, then it will work fine like so: This works with the pre-existing var commented out: // $DED = 1; if(mysql_num_rows($result) == 1) { $appstuff = mysql_fetch_array($result); extract($appstuff, EXTR_OVERWRITE); } echo $DED; Allen Lee Assistant Sysadmin http://MissoulaWeb.com Hosting, Programming and Design

« previous php.version4 (#12540) next »