> I am wondering how you store and recall your functions.
>
> I have an external file - functions.php, this includes all the functions
> for
> the site. It is included in the pages head and then I just use the
> functions
> when I need them.
>
> Does anyone have a better way to store/recall functions?

I have function.php in includes/functions folder with all functions I use
on EVERY PAGE (connect to db, query, print results on screen while
developing, buttons, etc.). And then the functions I use on some pages
have separated (show_order.php, show_product.php,
mysqlDate2friendlyDate.php, etc) and these wil be called/included when
needed.

-afan



>
>
>
>
> R.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to