hi all,
i have a problem with function_exists
i call it in a object function, but it doesnt work the way i thought
the functions are both defined, but i get always false as result...
class myObject
{
function insert()
{
$sql = '';
$valueSql = '';
//...
// add creation date if needed
if (function_exists("getCreated"))
{
$sql .= ", created";
$valueSql .= ", '" . date("Y-m-d H:i:s") . "'";
}
echo function_exists("getCreated") . " + " . function_exists("insert") . "***";
}
}
thx for help,
steffel