Archive

Archive for the ‘PHP Basic’ Category

PHP Switch Statement

March 12th, 2007 Shafiq Ahmed No comments

switch/case is very similar or an alternative to the if/elseif/else commands. The switch command will test a condition. The outcome of that test will decide which case to execute. Switch is normally used when you are finding an exact (equal) result instead of a greater or less than result.

switch (condition) {case “value1” :
block of [...]

    Read More...

PHP date() function

March 12th, 2007 Shafiq Ahmed No comments

Definition and Usage
The date() function formats a local time/date.
Syntax

date(format,timestamp)

Parameter
Description

format
Required. Specifies how to return the result:

d – The day of the month (from 01 to 31)
D – A textual representation of a day (three letters)
j – The day of the month without leading zeros (1 to 31)
l (lowercase ‘L’) – A full textual representation of [...]

    Read More...
Categories: PHP Date, PHP Functions

Introduction to PHP

November 30th, 2006 Shafiq Ahmed No comments

A PHP file may contain text, HTML tags and scripts. Scripts in a PHP file are executed on the server.
What You Should Already Know
Before you continue you should have a basic understanding of the following:
* HTML / XHTML
* Some scripting knowledge
What is PHP?
* PHP stands for PHP: Hypertext Preprocessor
* PHP is a server-side scripting [...]

    Read More...
Categories: PHP Intro

What you must know about PHP?

November 29th, 2006 Shafiq Ahmed No comments

PHP is a server-side scripting language for creating dynamic Web pages. You create
pages with PHP and HTML. When a visitor opens the page, the server processes the PHP
commands and then sends the results to the visitor’s browser, just as with ASP or ColdFusion.
Unlike ASP or ColdFusion, however,PHP is Open Source and cross-platform. PHP runs [...]

    Read More...
Categories: PHP Basic, Shafiq Ahmed

Welcome to Shafiq.co.in

November 29th, 2006 Shafiq Ahmed No comments

Welcome to Shafiq.co.in

    Read More...