PHP Introduction

PHP is a server-side scripting language.


What You Should Already Know

Before you continue you should have a basic understanding of the following:
  • HTML/XHTML
  • JavaScript
If you want to study these subjects first, find the tutorials on our Home page.

What is PHP?

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a server-side scripting language, like ASP
  • PHP scripts are executed on the server
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is an open source software
  • PHP is free to download and use

What is a PHP File?

  • PHP files can contain text, HTML tags and scripts
  • PHP files are returned to the browser as plain HTML 
  • PHP files have a file extension of ".php", ".php3", or ".phtml"

What is MySQL?

  • MySQL is a database server
  • MySQL is ideal for both small and large applications
  • MySQL supports standard SQL
  • MySQL compiles on a number of platforms
  • MySQL is free to download and use

PHP + MySQL

  • PHP combined with MySQL are cross-platform (you can develop in Windows and serve on a Unix platform)

Why PHP?

  • PHP runs on different platforms (Windows, Linux, Unix, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP is FREE to download from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side

Where to Start?

To get access to a web server with PHP support, you can:
  • Install Apache (or IIS) on your own server, install PHP, and MySQL
  • Or find a web hosting plan with PHP and MySQL support



Reserved entities, symbols and characters in HTML

Character        Entity Name              Description                          
" " quotation mark
' ' apostrophe 
& & ampersand
< &lt; less-than
> &gt; greater-than

&nbsp; non-breaking space
¡ &iexcl; inverted exclamation mark
¢ &cent; cent
£ &pound; pound
¤ &curren; currency
¥ &yen; yen
¦ &brvbar; broken vertical bar
§ &sect; section
¨ &uml; spacing diaeresis
© &copy; copyright
ª &ordf; feminine ordinal indicator
« &laquo; angle quotation mark (left)
¬ &not; negation
­ &shy; soft hyphen
® &reg; registered trademark
¯ &macr; spacing macron
° &deg; degree
± &plusmn; plus-or-minus 
² &sup2; superscript 2
³ &sup3; superscript 3
´ &acute; spacing acute
µ &micro; micro
&para; paragraph
· &middot; middle dot
¸ &cedil; spacing cedilla
¹ &sup1; superscript 1
º &ordm; masculine ordinal indicator
» &raquo; angle quotation mark (right)
¼ &frac14; fraction 1/4
½ &frac12; fraction 1/2
¾ &frac34; fraction 3/4
¿ &iquest; inverted question mark
× &times; multiplication
÷ &divide; division
À &Agrave; capital a, grave accent
Á &Aacute; capital a, acute accent
 &Acirc; capital a, circumflex accent
à &Atilde; capital a, tilde
Ä &Auml; capital a, umlaut mark
Å &Aring; capital a, ring
Æ &AElig; capital ae
Ç &Ccedil; capital c, cedilla
È &Egrave; capital e, grave accent
É &Eacute; capital e, acute accent
Ê &Ecirc; capital e, circumflex accent
Ë &Euml; capital e, umlaut mark
Ì &Igrave; capital i, grave accent
Í &Iacute; capital i, acute accent
Î &Icirc; capital i, circumflex accent
Ï &Iuml; capital i, umlaut mark
Ð &ETH; capital eth, Icelandic
Ñ &Ntilde; capital n, tilde
Ò &Ograve; capital o, grave accent
Ó &Oacute; capital o, acute accent
Ô &Ocirc; capital o, circumflex accent
Õ &Otilde; capital o, tilde
Ö &Ouml; capital o, umlaut mark
Ø &Oslash; capital o, slash
Ù &Ugrave; capital u, grave accent
Ú &Uacute; capital u, acute accent
Û &Ucirc; capital u, circumflex accent
Ü &Uuml; capital u, umlaut mark
Ý &Yacute; capital y, acute accent
Þ &THORN; capital THORN, Icelandic
ß &szlig; small sharp s, German
à &agrave; small a, grave accent
á &aacute; small a, acute accent
â &acirc; small a, circumflex accent
ã &atilde; small a, tilde
ä &auml; small a, umlaut mark
å &aring; small a, ring
æ &aelig; small ae
ç &ccedil; small c, cedilla
è &egrave; small e, grave accent
é &eacute; small e, acute accent
ê &ecirc; small e, circumflex accent
ë &euml; small e, umlaut mark
ì &igrave; small i, grave accent
í &iacute; small i, acute accent
î &icirc; small i, circumflex accent
ï &iuml; small i, umlaut mark
ð &eth; small eth, Icelandic
ñ &ntilde; small n, tilde
ò &ograve; small o, grave accent
ó &oacute; small o, acute accent
ô &ocirc; small o, circumflex accent
õ &otilde; small o, tilde
ö &ouml; small o, umlaut mark
ø &oslash; small o, slash
ù &ugrave; small u, grave accent
ú &uacute; small u, acute accent
û &ucirc; small u, circumflex accent
ü &uuml; small u, umlaut mark
ý &yacute; small y, acute accent
þ &thorn; small thorn, Icelandic
ÿ &yuml; small y, umlaut mark




Ramadan Calendar For Parachinar 2012 With Sahr And Iftar Time Schedule

Sehr Iftar Timing of Parachinar (2012)
Fiqah-E-Hanfi
                 Fiqh-E-Jafria
Day Ramadan Date Sehr Iftar
Friday 1 20-07-2012 3:19 7:35
Saturday 2 21-07-2012 3:20 7:34
Sunday 3 22-07-2012 3:21 7:33
Monday 4 23-07-2012 3:22 7:32
Tuesday 5 24-07-2012 3:23 7:31
Wednesday 6 25-07-2012 3:24 7:30
Thursday 7 26-07-2012 3:25 7:29
Friday 8 27-07-2012 3:26 7:28
Saturday 9 28-07-2012 3:27 7:27
Sunday 10 29-07-2012 3:28 7:26
Monday 11 30-07-2012 3:29 7:25
Tuesday 12 31-07-2012 3:30 7:24
Wednesday 13 1-8-2012 3:31 7:23
Thursday 14 2-8-2012 3:32 7:22
Friday 15 3-8-2012 3:33 7:21
Saturday 16 4-8-2012 3:34 7:20
Sunday 17 5-8-2012 3:35 7:19
Monday 18 6-8-2012 3:36 7:18
Tuesday 19 7-8-2012 3:37 7:17
Wednesday 20 8-8-2012 3:38 7:16
Thursday 21 9-8-2012 3:39 7:15
Friday 22 10-8-2012 3:40 7:14
Saturday 23 11-8-2012 3:41 7:13
Sunday 24 12-8-2012 3:42 7:12
Monday 25 13-8-2012 3:43 7:11
Tuesday 26 14-8-2012 3:44 7:10
Wednesday 27 15-8-2012 3:45 7:09
Thursday 28 16-8-2012 3:46 7:8
Friday 29 17-8-2012 3:47 7:07
Saturday 30 18-8-2012 3:48 7:06
Day Ramadan Date Sehr Iftar
Friday 1 20-07-2012 3:09 7:45
Saturday 2 21-07-2012 3:10 7:44
Sunday 3 22-07-2012 3:11 7:43
Monday 4 23-07-2012 3:12 7:42
Tuesday 5 24-07-2012 3:13 7:41
Wednesday 6 25-07-2012 3:14 7:40
Thursday 7 26-07-2012 3:15 7:39
Friday 8 27-07-2012 3:16 7:38
Saturday 9 28-07-2012 3:17 7:37
Sunday 10 29-07-2012 3:18 7:36
Monday 11 30-07-2012 3:19 7:35
Tuesday 12 31-07-2012 3:20 7:34
Wednesday 13 1-8-2012 3:21 7:33
Thursday 14 2-8-2012 3:22 7:32
Friday 15 3-8-2012 3:23 7:31
Saturday 16 4-8-2012 3:24 7:30
Sunday 17 5-8-2012 3:25 7:29
Monday 18 6-8-2012 3:26 7:28
Tuesday 19 7-8-2012 3:27 7:27
Wednesday 20 8-8-2012 3:28 7:26
Thursday 21 9-8-2012 3:29 7:25
Friday 22 10-8-2012 3:30 7:24
Saturday 23 11-8-2012 3:31 7:23
Sunday 24 12-8-2012 3:32 7:22
Monday 25 13-8-2012 3:33 7:21
Tuesday 26 14-8-2012 3:34 7:20
Wednesday 27 15-8-2012 3:35 7:19
Thursday 28 16-8-2012 3:36 7:18
Friday 29 17-8-2012 3:37 7:17
Saturday 30 18-8-2012 3:38 7:16




Previous Post Next Post Home