tpex1.php - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of tpex1.php.php

  1.  
  2.  
  3. <?php
  4. echo "<table border='1'>";
  5. echo "<tr colspan='2'>";
  6. echo "<th> Confirmation de vos coordonnees</th>";
  7. echo "</tr>"; 
  8. echo "<tr>";
  9. echo "<td> nom:</td>";
  10.  
  11. if (isset($_GET['nom']))
  12.  {
  13.  if (!empty($_GET['nom']))
  14.  { echo "<td>".
  15. $_GET['nom']."</td>";
  16.  }
  17. }
  18. echo "</tr>";
  19.  
  20.      
  21.     ?>
  22.  
File Description
  • tpex1.php
  • PHP Code
  • 21 Mar-2021
  • 288 Bytes
You can Share it: