Thread: PHP Question
View Single Post
Old 05-14-07, 07:53 AM   #1
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default PHP Question

im getting into php and plan to use it for managing a MySQL database and some other things. (adding permissions, login control, email mailing list, activity log, etc.)

im looking to make a standard function for adding entries to the database. i shouldnt have a problem creating the function.

however, is it possible for me create the function in a location and then access it from other .php files, or do i have to write the function into each php file? the latter sounds like a waste of space as well as extra time spent processing the page.

anyone know how to reference functions in another .php file?
ViN86 is offline   Reply With Quote