[Solved] Problem regarding Redeclaration of a function
Posted: Wed Aug 10, 2005 10:16 am
Hi ,
how's everybody, hope f9 .... But i m not well, cause of this <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> problem....
Kindly solve it :
i got an error in "lib.php" basically in this file i've defined common functionality of my
website in functions now i 've include it in header of my website because header is include
at each page now i got the following error ...
Fatal error: Cannot redeclare convertforstorage() (previously declared in
/home/content/s/u/m/sumitdua/html/test/includes/lib.php:2) in
/home/content/s/u/m/sumitdua/html/test/includes/lib.php on line 2
i m fed up because in "lib.php" the method "convertforstorage()" is declared just for one
time. And one thing more i 've tried to comment out this function in "lib.php" after that i
've found error on next defined method.i.e) "convertfordisplay()" and if i comment it too,
then found on next method and so on..........
Is there any technical reason for that ... kindly help me i m really worried about this
problem.
Thanks in Advance
regards
Waqas
how's everybody, hope f9 .... But i m not well, cause of this <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> problem....
Kindly solve it :
i got an error in "lib.php" basically in this file i've defined common functionality of my
website in functions now i 've include it in header of my website because header is include
at each page now i got the following error ...
Fatal error: Cannot redeclare convertforstorage() (previously declared in
/home/content/s/u/m/sumitdua/html/test/includes/lib.php:2) in
/home/content/s/u/m/sumitdua/html/test/includes/lib.php on line 2
i m fed up because in "lib.php" the method "convertforstorage()" is declared just for one
time. And one thing more i 've tried to comment out this function in "lib.php" after that i
've found error on next defined method.i.e) "convertfordisplay()" and if i comment it too,
then found on next method and so on..........
Is there any technical reason for that ... kindly help me i m really worried about this
problem.
Thanks in Advance
regards
Waqas