Hi all,
I am trying to use code from another member in a database query of phpMyEdit,
but I am a PHP dummy!
What is wrong with this:
[php]
global $row_count,$opts;
$current_page=intval($this->fm / $this->inc)+1-1 ;
$row_count++;
$row_count_result=$row_count+($opts[‘inc’]*$current_page);
return $row_count_result;
[/php]
I am getting an error:
“Using $this when not in object context” but I dont understand that.
Can somebody give me a hint?
Regards
Michael