Learning PHP









Sample of the pdf document :







What is PHP:

  • PHP == „Hypertext Preprocessor‟
  • Open-source, server-side scripting language
  • Used to generate dynamic web-pages
  • PHP scripts reside between reserved PHP tags
  • This allows the programmer to embed PHP scripts within HTML pages
  • Interpreted language, scripts are parsed at run-time rather than compiled beforehand
  • Executed on the server-side
  • Source-code not visible by client
  • ‘View Source’ in browsers does not display the PHP code
  • Various built-in functions allow for fast development
  • Compatible with many popular databases

What does PHP code look like:
  • Structurally similar to C/C++
  • Supports procedural and object-oriented paradigm (to some degree)
  • All PHP statements end with a semi-colon
  • Each PHP script must be enclosed in the reserved PHP tag


First PHP Script:

<html> <head> <title> Example </title> </head> <body> <font color="red">My PHP code makes this page say:</font> <p> <?php print ("Welcom to the PHP WORLD!"); ?> </p> </body> </html>.......









 Click here for  Download PDF / FREE






0 commentaires: