Answer Posted / nagaraju.ch
A function is a block of statement, A function will not execute immediately when we run, we have to call the function to execute
example
<?php
function name(){ // for creating a function
echo "My name is -----";
}
name(); // calling the function
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to include a file code in different files in php?
Write a program to swap two numbers using php.
What is the difference between get and post method in php?
List data types in PHP?
What are the 3 types of sessions?
What is the definition of a session?
What are global variables in php?
How many columns can be added in a table in mysql?
What happens if an expected input field was not submitted?
How many ways to include variables in double-quoted strings in php?
Which function can be used to delete a file?
What is the use of offset in mysql?
Name some of the popular frameworks in php.
is that "enumerated array" equal to "numeric array"?
Is session a cookie?