how to use function s in php code example
Example: how to define function in php
<?php
function writeMsg() {
echo "Hello world!";
}
writeMsg(); //call the function
?>
<?php
function writeMsg() {
echo "Hello world!";
}
writeMsg(); //call the function
?>