DDDD - 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 DDDD.php

  1. <?php 
  2.  
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  9. <meta name="Description" content="Enter your description here"/>
  10. <link rel="stylesheet" href="css/bootstrap.min.css">
  11. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css">
  12. <link rel="stylesheet" href="css/style.css">
  13. <title>Čempionatas</title>
  14. </head>
  15. <body>
  16.  
  17.  
  18.  
  19.  
  20. <h1 class="text-center m-4">Rónald Gómez</h1>
  21.  
  22. $places = array(
  23.     array(
  24.         'Čempionatas' => '',
  25.         'Rinktinės vieta' => '',
  26.         'Sužaidė rungtynių' => '',
  27.         'Kamuoliai' => '',
  28.         'Geltonos baudos' => '',
  29.         'Raudonos baudos' => '',
  30.         ),
  31.     array()
  32.     );
  33.  
  34.  
  35.     foreach ($places as $row) {
  36.      echo '<tr>';
  37.     echo '<td>' .$row['Čempionatas']. '</td>';
  38.     echo '<td>' .$row['Rinktinės vieta']. '</td>';
  39.     echo '<td>' .$row['Sužaidė rungtynių']. '</td>';
  40.     echo '<td>' .$row['Kamuoliai']. '</td>';
  41.     echo '<td>' .$row['Geltonos baudos']. '</td>';
  42.     echo '<td>' .$row['Raudonos baudos']. '</td>';
  43.  
  44.  
  45.       echo '<tr>';
  46.                         }
  47.  
  48.     </body>
  49.  
  50. </html>
File Description
  • DDDD
  • PHP Code
  • 22 Jan-2021
  • 1.26 Kb
You can Share it: