I am getting the error cannot redeclare the class some xxx in
bcz i m including xxx.php in 3 diffrent functions in the same file to
invoke the 3 differnet functions in the xxx.php from 3 different
functions.so can u give me the solution.
Function- and classdeclarations are automatically global, so if you need
to use a function or a class reincluding it's file is not necessary. Files
with (a) class(es)/function(s) should be require_once()'ed.