PHP is a general-purpose server side scripting language, that is used to create dynamic and interactive Web pages quickly.
Before you begin this tutorial it is necessary that you have a basic understanding and experience in the following:
- HTML – Know the syntax and especially HTML Forms.
- Basic programming knowledge – If you have any traditional programming experience like ‘C’ it will make learning PHP a great deal easier.
<!DOCTYPE html> <html> <head> <title>PHP Script Example</title> </head> <body> <?php echo "Hello world, I'm a PHP script!" ?> </body> </html>Run
Hello world, I’m a PHP script!
The above example has been used to print on the screen.