| 
 Posted by Andy Jeffries on 05/05/06 14:34 
On Fri, 05 May 2006 04:27:24 -0700, Troot wrote: 
> 			eval("\$" . $attributes['NAME'] . " = \"" .  $attributes['VALUE'] . 
> "\";"); 
 
You could replace that with: 
 
$name = $attributes['NAME']; 
$$name = $attributes['VALUE']; 
 
Makes it a bit easier to read and you experience the fault. 
 
Cheers, 
 
 
Andy 
 
--  
Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer 
http://www.gphpedit.org       | PHP editor for Gnome 2 
http://www.andyjeffries.co.uk | Personal site and photos
 
  
Navigation:
[Reply to this message] 
 |