>> I tried to add a include in my main script: include ("myfunctions.php); >> then type the name of the function that I want to use but it is not the >> good way, or I make a mistake. What is the solution?
> There is nothing wrong with that solution at all. I have a functions.php > include as well, and so do most professional BBS's on the market too. One file for each function definition might become too much and slow down the server in stressy situations. Group functions into classes (if you use object orientated programming) or into bundles (if it makes no sense to combine the functions into an object). <?php include('include/config.php'); include('include/classes/class_db.php'); include('include/bundles/bundle_display.php'); ?> hth ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hit2bkm/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1123621882/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/