AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

PHP: Hypertext Preprocessor


PHP: Hypertext Preprocessor (or simply PHP) is a server-side scripting language and for the most part it is designed for Web development, and also used as a general-purpose programming language.

PHP development began in 1994 when Rasmus Lerdorf wrote several Common Gateway Interface (CGI) programs in C which he used to maintain his personal homepage.

PHP first code - how to create - example


The PHP code is delimited by one of the following sets of opening and closing tags:
<? php ?> Recommended labels
<script language = "php"?> </ script>
<? ?> their use requires some settings on the server
<%%> ASP tags, their use requires certain settings on the server

The code is interpreted by a web server with a PHP processor module that generates the resulting web page.

Example 1: First PHP code
<!DOCTYPE html>
<html>
<title>
First PHP code</title>
</head>

<body>

<?php
echo "Hello people! <br /> This is a simple PHP code";
?>
</body>
</html>





Easy Learning with "Show PHP", example of a simple php script. - php tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Home
PHP Introduction
PHP Install
PHP Syntax
PHP Variables
PHP Echo and Print
PHP Data Types
PHP String Function
PHP Constants
PHP Operator Types
PHP If Else and Elseif
PHP Switch
PHP While Loops
PHP Loop For Do Foreach
PHP Array
Convert Array to String
PHP Function
PHP GET and POST
PHP Date/Time Functions
PHP Login
PHP Delete Element
PHP eregi_replace()
PHP mysql_query()
PHP Errors to Display
PHP Loop For Do Foreach

PHP forms
PHP Form Example
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.