clown[NOR] Posted April 13, 2007 Share Posted April 13, 2007 All i want to know is... Is it possible to make a file called functions.php and then add all functions in there and include the functions.php on top the index file? Link to comment https://forums.phpfreaks.com/topic/46923-solved-simple-php-question-no-code-help/ Share on other sites More sharing options...
boo_lolly Posted April 13, 2007 Share Posted April 13, 2007 yeah. Link to comment https://forums.phpfreaks.com/topic/46923-solved-simple-php-question-no-code-help/#findComment-228801 Share on other sites More sharing options...
wafflestomper Posted April 13, 2007 Share Posted April 13, 2007 yup, just put: require_once('functions.php'); at the top. Link to comment https://forums.phpfreaks.com/topic/46923-solved-simple-php-question-no-code-help/#findComment-228803 Share on other sites More sharing options...
clown[NOR] Posted April 13, 2007 Author Share Posted April 13, 2007 thanks guys =) Link to comment https://forums.phpfreaks.com/topic/46923-solved-simple-php-question-no-code-help/#findComment-228804 Share on other sites More sharing options...
boo_lolly Posted April 13, 2007 Share Posted April 13, 2007 i use include() which is basically the same thing. Link to comment https://forums.phpfreaks.com/topic/46923-solved-simple-php-question-no-code-help/#findComment-228816 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.