justineaguas Posted June 16, 2010 Share Posted June 16, 2010 I just want to know if I can make a functions.php file where all my mySQL functions are there (insert, update, delete). So in every php file I make.. I would just include functions.php and then call any function I want to use and just enter the parameters needed. This is somehow like 'Beans' in JSP. Thank you for the additional knowledge I would get from this. JAguas Quote Link to comment https://forums.phpfreaks.com/topic/204913-php-file-for-functions/ Share on other sites More sharing options...
trq Posted June 16, 2010 Share Posted June 16, 2010 Of course you can make a file full of functions then include it wherever you need it. Quote Link to comment https://forums.phpfreaks.com/topic/204913-php-file-for-functions/#findComment-1072774 Share on other sites More sharing options...
justineaguas Posted June 16, 2010 Author Share Posted June 16, 2010 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/204913-php-file-for-functions/#findComment-1072785 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.