Search Tutorials

PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Read more


About 57 results found.
  1. Instruction Sheet
  2. Installation Sheet
  3. Brochures

Foss : PHP and MySQL - English

Outline: Echo Function The echo() function outputs one or more strings. Syntax: echo(strings); Ex. echo "Hello World!";

Basic

Foss : PHP and MySQL - English

Outline: Variables in PHP Variables are used for storing values, like text strings, numbers or arrays. When a variable is declared, it can be used over and over again in your script. A..

Basic

Foss : PHP and MySQL - English

Outline: If Statement if statement - use this statement to execute some code only if a specified condition is true. if...else statement - use this statement to execute some code if a co..

Basic

Foss : PHP and MySQL - English

Outline: Switch Statement switch statement - use this statement to select one of many blocks of code to be executed

Basic

Foss : PHP and MySQL - English

Outline: Arithmatic Operators Ex. +,-,*,/,%,++,--

Basic

Foss : PHP and MySQL - English

Outline: Comparison Operators Ex. ==,!=,<>,>,<,>=,<=

Basic

Foss : PHP and MySQL - English

Outline: Logical Operators Ex. && (AND),|| (OR),! (NOT)

Basic

Foss : PHP and MySQL - English

Outline: Arrays An array stores multiple values in one single variable. Numeric array - An array with a numeric index. Associative array - An array where each ID key is associated with..

Basic

Foss : PHP and MySQL - English

Outline: Multi-Dimensional Arrays In a multidimensional array, each element in the main array can also be an array. And each element in the sub-array can be an array, and so on.

Basic

Foss : PHP and MySQL - English

Outline: Loops - While Statement The while loop executes a block of code while a condition is true. while (condition) { code to be executed; }

Basic

Foss : PHP and MySQL - English

Outline: Loops - Do-While Statement The do...while statement will always execute the block of code once, it will then check the condition, and repeat the loop while the condition is true..

Basic

Foss : PHP and MySQL - English

Outline: Loops - For Statement The for loop is used when you know in advance how many times the script should run. Syntax: for (init; condition; increment) { code to be ..

Basic

Foss : PHP and MySQL - English

Outline: Loops - Foreach Statement The foreach loop is used to loop through arrays. foreach ($array as $value) { code to be executed; }

Basic

Foss : PHP and MySQL - English

Outline: Functions (Basic) To keep the script from being executed when the page loads, you can put it into a function. A function will be executed by a call to the function. You may ca..

Basic

Foss : PHP and MySQL - English

Outline: Functions (Advanced) We can also pass parameters to functions during both the declaration and calling time. function functionName($param1,$param2); //during function call. fun..

Basic

Foss : PHP and MySQL - English

Outline: GET Variable The built-in $_GET function is used to collect values from a form sent with method="get". Information sent from a form with the GET method is visible to everyone (..

Basic

Foss : PHP and MySQL - English

Outline: POST Variable The built-in $_POST function is used to collect values from a form sent with method="post". Information sent from a form with the POST method is invisible to othe..

Basic

Foss : PHP and MySQL - English

Outline: Embedding PHP We can embed our PHP code anywhere in the webpage, by enclosing our script within the <?php...... //SCRIPT.......?>

Basic

Foss : PHP and MySQL - English

Outline: Common Way to Display HTML We can also use the HTML Code within the PHP Script. Almost each of the HTML Tags can be used within a PHP Script.

Basic

Foss : PHP and MySQL - English

Outline: Common Errors (Part 1) Learn how to spot errors and how to fix them Common Parse errors Parse errors due to missing comma or semicolon Parse errors due to not ending single o..

Basic