How To Prevent Fatal Error Cannot Redeclare Function In PHP
erics, Posted August 8th, 2012 at 1:54:50pm
1 2 3 4 5 |
if ( ! function_exists('yourFunctionName') ) { function yourFunctionName() { //your function definition goes here } } |
Leave Your Comment
All fields marked with "*" are required.