Thread: Check my code
View Single Post
Old 10-21-2007, 04:16 PM   #11 (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 deprecated

Another little point what version of PHP are you using, as (correct me if im wrong) i think PHP5 returns a reference from the new automatically so using =& in this context is deprecated and produces E_STRICT level message:
PHP Code:
$tpl =& new Savant2(); 
if your using PHP4 then just ignore me.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote