hello, Just tried that. It's still giving the same error. Thanks, Tyler Littlefield email: tyler@xxxxxxxxxxxxx web: tysdomain-com Visit for quality software and web design. skype: st8amnd2005----- Original Message ----- From: "Humberto Rodriguez" <sub@xxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Saturday, November 22, 2008 8:16 AM Subject: RE: php help
Try using the function include_once instead of include. Thus: Include_once "include/database.inc.php"; HTH, Humberto -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Tyler Littlefield Sent: Saturday, November 22, 2008 10:08 AM To: programmingblind@xxxxxxxxxxxxx Subject: php help Hello, I'm writing a login system. In my home.php page, I do something like: include "include/database.inc.php"; this works (I see the output of the title), but I get an error:Fatal error: Cannot redeclare isuseravailable() (previously declared in /home/.lutece/tysdomain/tysdomain/social/include/database.inc.php:5) in include/database.inc.phpon line 5basically it's saying it can't redeclare it on the same line as it was declared?Any ideas? I have only included it once, also. Thanks, Tyler Littlefield email: tyler@xxxxxxxxxxxxx web: tysdomain-com Visit for quality software and web design. skype: st8amnd2005 __________View the list's information and change your settings at //www.freelists.org/list/programmingblind__________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind