|
Posted by Cruella DeVille on 03/01/06 01:02
I still get the same error,
Fatal error: Call to undefined function writeUrl() in
C:\wamp\www\bookmarks\Classes\testFileIO.php on line 6
my function:
public function writeUrl($name, $url){
$content = $name . " $ " . $url. "\n";
fwrite($this->filePointer, $content);
}
my call:
include_once('FileIO.php');
$myFileIO = new FileIO('siv.txt', 'w+');
//$myFileIO.readFile($this);
$myFileIO.writeUrl("siv", "nibbler.no"); <- this is line 6
And I can't understand why...
Navigation:
[Reply to this message]
|