
PHP is a programming language (♦ see DEF) multiplatform and object oriented, created in 1994.
It allows you to create Dynamic Web Pages on a HTTP server.
MYSQL is a relational database management system (RDBMS), regularly associated with PHP.
Code Examples
→ Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...
→ In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.
NOW REPRODUCE AND IMMERSE YOURSELF!
C 0001 - Hello World !
<html>
<body>
echo "Hello World !";
</body>
</html>
C 0002 - Values
<html>
<body>
<?php
$color = "green";
echo "My basket is " . $color . "<br>";
$color2 = "red";
echo "My book is " . $color2 . "<br>";
?>
</body>
</html>
C 0003 - Variables
<!DOCTYPE html>
<html>
<body>
<?php
$txt = "Hello, see the results !";
$x = 50; $y = 10.5;
echo $txt; echo "<br>";
echo $x; echo "<br>";
echo $y;
</body>
</html>
C 0004 - Numbers
<!DOCTYPE html>
<html>
<body>
<?php
$x = 50;
$y = 65;
echo $x + $y;
</body>
</html>
C 0005 - Variables
<!DOCTYPE html>
<html>
<body>
</body>
</html>
C 0006 - Numbers
<!DOCTYPE html>
<html>
<body>
</body>
</html>
C 0007 - Numbers
<!DOCTYPE html>
<html>
<body>
</body>
</html>
C 0008 - Numbers
<!DOCTYPE html>
<html>
<body>
</body>
</html>

CHOISISSEZ VOTRE COMPILATEUR
Reproduisez ce code, en choisissant l'un des compilateurs (♦ voir DEF) ci-dessous (ne copiez-collez pas ! Ce serait trop facile). Tous ont la même fonction, choisissez-en un en tenant simplement compte de vos préférences.
Lorsque vous copiez votre code, remplacez le code existant (par défaut) figurant déjà dans le compilateur, par le vôtre.
Attention ! Pour certains de ces compilateurs, vous devez vous-même choisir le langage de programmation, dans le menu qui vous est alors proposé. Bien évidemment, n'oubliez pas de cliquer sur RUN !
PHP Technical Specifications
Most Recent Versions
Frameworks
Tools And Methodologies
Tests
Info+ (PHP)
* Created by Rasmus Lerdorf
* Developed by The PHP Group
* Influenced by C/C ++, Java and PERL
* Written in C
* Cross-platform
* Free license / PHP license