Hello Tyler: Are you by any chance defining the function isuseravailable() again in the PHP page where you have the include statement? If not, I am out of ideas for the moment. Humberto -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Tyler Littlefield Sent: Saturday, November 22, 2008 11:13 AM To: programmingblind@xxxxxxxxxxxxx Subject: Re: php help 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.php > on line 5 > basically 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 __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind