Pavlos1316 Posted March 12, 2010 Share Posted March 12, 2010 Hello, I have a simple question regarding functions (to understand it well): I have the abc.php file and this fuction written inside: <?php function name(surname); ...code...; ?> How exactly do I call this function from another file lets say def.php that contains another php code like: <?php code; exit(); code; ?> Link to comment https://forums.phpfreaks.com/topic/194988-function-question/ Share on other sites More sharing options...
trq Posted March 12, 2010 Share Posted March 12, 2010 <?php include 'abc.php'; name('smith'); ?> Link to comment https://forums.phpfreaks.com/topic/194988-function-question/#findComment-1025153 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.