Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old February 25th, 2002   #1 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
weird PHP-prob

What does this mean:
Fatal error: Cannot redeclare getdate() in f:\web\phoop\_global.php on line 14

I didn't declare any other function with this name anywhere else or even declared function similar to this one. So where's the problem?
I don't think that it is necessary but here's the code for the function:
PHP Code:
function getDate() {
    
$year date(Y);
    
$month date(m);
    
$day date(d);
    
$date $year."-".$month."-".$day;
    return 
$date;
}; 

__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Old February 26th, 2002   #2 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
No more help needed. I just renamed the function and it works fine now.
__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:39.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5