PHP (a recursive initialism for PHP: Hypertext Preprocessor) is an open-source server-side scripting language that can be embedded into HTML to build web applications and dynamic websites.


Basic syntax

// start of PHP code
  // PHP code goes here
// end of PHP code

Printing data on screen

  echo "Hello World!";

PHP variables

  // variables

  // printing the variables
  echo $nome;
  echo $sobrenome;
  echo $pais;
  echo $email;

See also