Markbad311
03-08-2006, 06:26 PM
How can I check if a function is already set? Can is use isset? What would be the syntax to see is a function is already included in the script included named dbconnect()??
Thanks
Thanks
|
Click to See Complete Forum and Search --> : How can I check if a function is already set Markbad311 03-08-2006, 06:26 PM How can I check if a function is already set? Can is use isset? What would be the syntax to see is a function is already included in the script included named dbconnect()?? Thanks NogDog 03-08-2006, 07:13 PM function_exists("function_name") (http://www.php.net/function_exists) Markbad311 03-09-2006, 10:14 PM this returns true or false 1, or 0?? thanks very much NogDog 03-09-2006, 10:49 PM this returns true or false 1, or 0?? thanks very much Just click the link I provided in my response, and about the 2nd or 3rd sentence on that manual page answers your question. SpectreReturns 03-10-2006, 12:31 AM this returns true or false 1, or 0?? thanks very much PHP interprets everything as a boolean (when nessecary), so it doesn't matter. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |