Professional Documents
Culture Documents
PHP Notes For Elective 1
PHP Notes For Elective 1
What Do I Need?
To start using PHP, you can:
Install a web server on your own PC, and then install PHP and MySQL
Just create some .php files, place them in your web directory, and the server will
automatically parse them for you.
install PHP
2. using this given code create a statement inside the function that will
display the parameter value
fullName(“Cardo”,”Dalisay”,26);
4. Create a function that will match the given function call statement
function sum($n1=4,$n2=5) {
return ($n1+$n2);
}
familyName("Hege", "1975");