Thread: PHP Question
View Single Post
Old 05-14-07, 08:36 AM   #2
Registered User
Join Date: Jul 2005
Posts: 3,606
Default Re: PHP Question

Sure, simply create a separate page called "functions.php" and on each PHP page where you require the use of the function issue the following:


It's really that easy.

Remember, any time you pass a variable to MySQL make sure you mysql_escape_string() first to avoid the possibility of SQL injection attacks.
evilghost is offline   Reply With Quote