ich habe dieses:
sieht ein wenig konfus aus aber nungut er spuckt mir diese meldung aus:
ich weiss jedoch nicht warum ...., kann mir wer helfen ? (zeile hab ich gekennzeichnet im php code)
edit: das forum nimmt das weg, im der teile ist ein ?>
PHP-Code:
class classHandle
{
function __construct($class,$handle=0)
{
$this->handle = $handle;
$this->className[$handle] = $class;
$this->path[$this->handle] = dirname(__FILE__)."../classes/".$class."/".$class.".php";
}
function load($handle=0)
{
if(file_exists($this->path[$handle]))
{ include_once($this->path[$handle]); $this->tempClass[$handle] = new $this->className; return true; }
else
{ return false; }
function useIn($function,$handle=0)
{
if(!$this->tempClass[$handle]) { return false; }
return $this->tempClass[$handle]->$function."()";
}
}
?> # <<<<<<<Zeile 234
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in +++++\core\function.php on line 234
edit: das forum nimmt das weg, im der teile ist ein ?>
Kommentar