to be a bit less vague , i have a db query wrapper function, and checks for mysql errors if there is one it needs to catch it to a callback function although php3 doesnt handle callback functions so you have to give it the line and file, is there anyway i can try and get away from putting the line and file in the function like this ?
$query = $db->query("select * from artists where artistI=1",__LINE__,__FILE__); "Electroteque" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi sorry to ask so many questions but i have now realised that php3 doesnt > handle the callback error handling so i can return the line and file of the > error into a function is there a way to emulate this in php3 ? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php