Thread: New approach
View Single Post
Old 05-11-2008, 02:31 PM   #26 (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

there is only really one thing i didnt do in my example, but even so it shouldnt be causing an error:

PHP Code:
class whatever
{
    private 
$EvulSess;
    private 
$EvulSys;

    function 
__construct(){
        
$this->EvulSess EvulSession::getInst();
        
$this->EvulSys $this->Connect();
    }

    function 
SetGuest(){
        
$this->EvulSess->set_var("usr_nme""Guest");
    }

What is the code for your 'set_var' method? also should this:
PHP Code:
function SetGuest(){
        
$this->EvulSess->set_var("usr_nme""Guest");
    } 
be:
PHP Code:

function SetGuest(){
        
$this->EvulSess->set_var("usr_name""Guest");
    } 
i cant debug your code with any great accuracy because i dont have enough to work on.
</span></span>
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote