Definition
PHP ( acronym for PHP: Hypertext Preprocessor). It is a widely-used, open source scripting language that especially used for web development.
PHP can collect form data, generate dynamic page content, or send and receive cookies. It can add, delete, modify data in database. Also PHP can create, open, read, write, delete, and close files on the server and encrypt data.
Simple PHP code:
<?php echo"hello world!" ?>
Output:
hello world!
PHP can be embedded into HTML.
Example:
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <?php echo "hello world!"; ?> </body> </html>
0 Comments