index - 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.
Result of php executing
Full code of index.php
- <?php
- echo '<table>';
- for($i=0;$i<10;$i++)
- {
- echo '<tr>';
- for ($j = 0; $j<10; $j++){
- $randnum = rand(0, 200);
- if($randnum < 10){echo '<td class="sing">';}
- elseif($randnum < 100){echo '<td class="decr">';} else{echo '<td class="hund">';}
- echo $randnum;
- echo '</td>';
- }
- }
- echo '</table>';
- ?>
File Description
- index
- PHP Code
- 19 Mar-2021
- 308 Bytes
You can Share it:
Latest PHP Pastes