Blog Archives

PHP Include File

You can insert the content of one PHP file into another PHP file before the server executes it, with the include() or require() function. The two functions are identical in every way, except how they handle errors: * include() generates

Posted in Php

PHP Date() Function

The PHP date() function is used to format a time and/or date. date(format,timestamp) The required format parameter in the date() function specifies how to format the date/time. Here are some characters that can be used: * d – Represents the

Posted in Php

PHP Forms

The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input. PHP $_GET Function The built-in $_GET function is used to collect values in a form with method=”get”. Information sent from a form with the

Posted in Php

PHP String Functions

A string variable is used to store and manipulate text. String Variables in PHP String variables are used for values that contain characters. <?php $txt = "Learn Web Development things"; echo $txt; ?> The output of the code above will

Posted in Php

Basic PHP Syntax and Variables

A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document. On servers with shorthand support enabled you can start a scripting block with <? and end with

Posted in Php

PHP Installation

if your server does not support PHP, you must install PHP. Here is a link to a good tutorial from qualitypoint on how to install PHP5: http://qualitypoint.blogspot.com/2009/09/steps-for-php-installation.html Download PHP Download PHP for free here: http://www.php.net/downloads.php Download MySQL Database Download MySQL

Posted in Php

What is PHP?

What You Should Already Know Before you continue you should have a basic understanding of the following: HTML/XHTML JavaScript What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed

Posted in Php

PHP Tutorial

PHP is a general-purpose scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which

Posted in Php