View Single Post
Old 01-30-2009, 09:53 PM   #21 (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

Looks good mate :)

dont forget the quotes on the string arguments:
PHP Code:
$armory = new armory(character$realmnameNULL$charnameNULL); 
//should be
$armory = new armory('character'$realmnameNULL$charnameNULL); 
It works eitherway but the latter doesnt throw a PHP warning about an undefined constant.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote