What is PHP?
PHP, which stands for Hypertext Preprocessor. It's a server side scripting language that you can use to generate any HTML web pages dynamically.Using this server side script you can actually control over your website depends on your need. PHP is also the extension using this document. You need to install a web server, Apache and a database, MySQL. PHP always start with a tag '<?php' and always end with '?>' or '<?' and always ended with '?>'.
PHP Sample
<html>
<head>
<title>PHP Tutorial</title>
</head>
<body>
<?php echo 'PHP Tutorial!'; ?>
</body>
</html>
Save as sample.php
The codes above simply display the text 'PHP Tutorial!' in a website.The echo function simply display the string inside its parameter.
Thursday, January 27, 2011
PHP Tutorial - Beginner
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment