RE: [PHP] Faster: Includes or DB Queries??

2002-07-21 Thread John Holmes

> Is there much of a difference in speed or efficiency between
INCLUDEing
> files in a script or loading data from a database? I'm building a
dynamic
> menu system for a website and not sure if it would be faster to store
> button
> data in a DB or just do it with Included files.

Includes are faster overall. If you already have a database connection
open for other things, then there won't be as much of an overhead for
using the database. 

---John Holmes...


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




[PHP] Faster: Includes or DB Queries??

2002-07-21 Thread Monty

Is there much of a difference in speed or efficiency between INCLUDEing
files in a script or loading data from a database? I'm building a dynamic
menu system for a website and not sure if it would be faster to store button
data in a DB or just do it with Included files.



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