Jump to content

Function question


Pavlos1316

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.