<?php
function hello($name) // Function starts from here. you need to define a variable here
{
echo "{$name} <br />"; // Here Function Detail
}
Hello("Samee"); // Don't forget to call the funtion.
Hello("Ullah"); # at calling time you need to add value to variable.
Hello("Feroz"); /* within double qoutes */
?>
Function An Other Type : Variable Use In Function
Labels:
PHP Learning
Post a Comment
Give your reviews about this blog. Leave your comments. What do you think about this post?
Comments Guidelines:
1) I love to read comments, but please avoid spam.
2) Like this blog, share your insights, and spread the word.
3) You can use basic HTML/xHTML tags.
4) All comments are DoFollow—please use the section professionally.
5) Kindly mention your name or brand below your comment.
6) Constructive suggestions for improvement are always welcome.
Thanks for visiting Samee Articles.
========================================
Best Regards,
Samee U. Feroz