Skip to content

Instantly share code, notes, and snippets.

@pradeeprjth
Created October 19, 2019 09:35
Show Gist options
  • Save pradeeprjth/9e0562f975ef73c8b2829922f78f6574 to your computer and use it in GitHub Desktop.
Save pradeeprjth/9e0562f975ef73c8b2829922f78f6574 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Writing PHP Function</title>
</head>
<body>
<?php
/* Defining a PHP Function */
function writeMessage() {
echo "You are really a nice person, Have a nice time!";
}
/* Calling a PHP Function */
writeMessage();
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment