hallo peepz,

weet iemand wat ik hier fout doe?

}
while(true){
if(!$this->check_connection($db, $host, $user, $pass, $tabl) ){
//no database (tablespace) found
if( isset($_REQUEST['create_db']) ){
//so, we try to create one
$sql = array();
$sql = $dict->CreateDatabase($tabl);
$db->Connect( $host, $user, $pass );
$db->Execute($sql[0]);
$db->Close();
unset($_REQUEST['create_db']);
continue;
}
$connection = false;
_no_tablespace($tabl);
unset($db);
break;
}
break;
}


probleem is in deze stuk:wat doe ik fout?

$connection = false;
_no_tablespace($tabl);
unset($db);


mvgr rakesh
Krijg je een foutmelding?

EDIT: Als je een foutmelding "Call to undefined function _no_tablespace() oid krijgt, zou je kunnen proberen:

$this->_no_tablespace($tabl);

(in plaats van _no_tablespace($tabl); )
<?php
error_reporting('E_ALL') ;
?>

Reageren