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

PHP Introduction


Next Page >>
PHP Install
PHP is the abbreviation of Hypertext Preprocessor.
HTML pages could be checked on the local computer, PHP pages can not be verified unless they are hosted on a web server that has PHP installed.

Example: The simplest PHP script is:
<?php
echo "This is a PHP script."; // output: This is a PHP script.
?>

More PHP simple script example - how to create


If the script is not written correctly, PHP will display the error by indicating where it is. Errors are displayed only if the server is set properly (php.ini is set to display_errors = On and error_reporting = E_ALL).

Example: The PHP file may contain between <html> and </ html> PHP blocks delimited by <? Php // your php code here ?>
<HTML>
<head>
<title>
Example of HTML code and PHP script</ title>
</ head>
<body>

Example of HTML code and PHP script. <br>
This is the second line of HTML code. <br>
<?php
echo "Here we have PHP script <br> and this is the second line of PHP script";
?>
</ body>
</ HTML>

Output of above script in your browser:

Example of HTML code and PHP script.
This is the second line of HTML code.
Here we have PHP script
and this is the second line of PHP script
Note: Under PHP script you can also add HTML code.

Next Page >>
PHP Install


PHP simple script
The simplest 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.


Upload Image, display, edit and delete i...
Login Form with Image background...
How to Create an Image with Transparent ...
Portfolio Gallery Website with filtering...
Simple pagination script PHP MySQLi...
Center Image in div...
Image Hover Overlay Fade...
Sticky image / element / div on scroll...
Responsive images...
Create rounded image in HTML CSS...
Add border around image...
Position Text Over an Image HTML CSS res...
Create a Slideshow Images Gallery...
Create a Sticky Sidebar...
Search bar using CSS HTML...
Shrink Navigation Menu on Scroll...
How to Create Accordion HTML Templates...
Dropdown menu in the navigation bar...
Responsive Top Navigation Bar with mobil...
Split horizontal navigation bar...