Question : want to call display() to echo



display();

function display(){
echo 'hello';
}

Answer : want to call display() to echo

try call the function after you declared it
1:
2:
3:
4:
function display(){
echo 'hello';
}
display();
Random Solutions  
 
programming4us programming4us