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();
|