Calender - 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 Calender.php
- <?php
- <table border = 1>
- <tr>
- <td>1</td>
- <td>2</td>
- <td>3</td>
- <td>4</td>
- <td>5</td>
- <td>6</td>
- <td>7</td>
- <?php
- for ($i =0; $i <15; $i =$i + 1){
- echo "<td>";
- echo ($i+1);
- if(6==6){
- }
- echo "</td>";
- }
- ?>
- </tr>
- </table>