View Single Post
Old 10-28-2009, 09:43 AM   #5 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
Originally Posted by etoolbox View Post
There's no sense using extract() anyway, and it may overwrite variables you have already set up, further opening your code up to abuse.
That problem is solved by using the EXTR_PREFIX_SAME flag.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
The Following User Says Thank You to sketchMedia For This Useful Post:
Dave (10-30-2009)