From a585eef1f7afc9af18e6491295bc2c437c0a5fee Mon Sep 17 00:00:00 2001 From: Saurav Bajracharya Date: Wed, 27 Mar 2019 06:57:17 +0545 Subject: [PATCH] Added some texts regarding external php scripts (#30419) and calling them using include and require --- guide/english/php/hello-world/index.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/guide/english/php/hello-world/index.md b/guide/english/php/hello-world/index.md index 0373e27cf8..9e1662bfbe 100644 --- a/guide/english/php/hello-world/index.md +++ b/guide/english/php/hello-world/index.md @@ -20,12 +20,25 @@ A PHP script starts with ``: ?> ``` or -you can also write A PHP script starts with ``: +you can also write A PHP script which starts with `` when writing it in an external file i.e. "filename.php": ```php +``` +or +using require +```php + +``` Below, we have an example of a simple PHP file, with a PHP script that uses a built-in PHP function "echo" to output the text "Hello World!" on a web page: