Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to define function in php

<?php
function writeMsg() {
    echo "Hello world!";
}

writeMsg(); //call the function
?>
 
PREVIOUS NEXT
Tagged: #define #function #php
ADD COMMENT
Topic
Name
6+8 =