<?php
// define custom function
function myfunction() { ...... // your code
}
//call a function
myfunction();
?>Example:
<?php
/ define custom functionfunction myfunction() {
echo"myfunction value";
}
//call a function
myfunction();
// print output myfunction value
?>
No comments:
Post a Comment