You are here: Re: fetal error cannot redeclare class « PHP Programming Language « IT news, forums, messages
Re: fetal error cannot redeclare class

Posted by Jerry Stuckle on 09/08/07 12:25

srilathaapi@gmail.com wrote:
> Hi All,
> I am getting the error cannot redeclare the class some xxx in
> file xxx.php.
> 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.
>
> Thanks&regards
> Sri
>

You don't include it three different times. You include it once
(usually at the top of your script) then call the functions you want as
necessary.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация