Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Closed Thread
Old 08-12-2010, 11:37 AM Error in code
Junior Talker

Posts: 2
Trades: 0
Hi to all am getting this error please suggest me how can i fix this problem Fatal error: Call to a member function FetchRow() on a non-object in /home/tviexpri/public_html/balajiitsolutions.com/jadro/phpld_comp.php on line 107
__________________

Please login or register to view this content. Registration is FREE
//
Please login or register to view this content. Registration is FREE
//


Please login or register to view this content. Registration is FREE
//
Please login or register to view this content. Registration is FREE
befranksimple is offline
View Public Profile
 
 
Register now for full access!
Old 08-12-2010, 03:39 PM Re: Error in code
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Why not ask the developers of whatever script it is you are trying to run?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 08-13-2010, 01:22 AM Re: Error in code
gkphp's Avatar
Novice Talker

Posts: 5
Name: sivasankar.gk
Location: chennai
Trades: 0
The error suggest,

You are having a class and inside it your having this function FetchRow().

Now you are trying to call the function without an object or not with the object of its class.

PHP Code:
//For example, if your class looks like the following,

class sampleclass
{
   function 
__construct()
   {
        
// contructor definition
    
}

   function  
FetchRow()
   {
       
// function declaration here
   
}
  
   function 
otherFunction()
  {
      
// calling the function within this class
      
$this->FetchRow();
  }

}

// Now call the function outside the class

$obj = new sampleclass();
$obj->FetchRow(); 
gkphp is offline
View Public Profile
 
Old 08-13-2010, 01:28 AM Re: Error in code
Extreme Talker

Posts: 149
Trades: 0
Check if that object is created in code
__________________
Free
Please login or register to view this content. Registration is FREE

Visit our
Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE
mimamo is offline
View Public Profile
 
Closed Thread     « Reply to Error in code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23125 seconds with 12 queries