display() is to be called many times in run() function.
Code: Select all
function run()
{
display($something)
}
function display($k)
{
...
}Fatal error: Call to undefined function: display() in x:\xxx\xxx.php on line xx
I tried this->display($something) still same error.
This is the way it works in most OOP languages.
Using PHP 4.3.10 not 5
Any idea how to overcome this error ?
Thanks