- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>PHP Function</title>
- </head>
- <body>
- <?php
- // Defining function
- function whatIsToday(){
- echo "Today is " . date('l', mktime());
- }
- // Calling function
- whatIsToday();
- ?>
- </body>
- </html>
PHP Function – Learn Function – PHP Code |
---|
|
PHP Function – Learn Function
|
Published: | September 25, 2020 |
Author: | admin |
Category: | PHP Basic, PHP Source Code |
Views: | 20 |
This article was posted in PHP Basic, PHP Source Code and tagged Exercise PHP Function - Learn Function, How to write PHP Function - Learn Function, PHP Function - Learn Function - PHP Example. Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.
|
|