Created
August 31, 2016 06:41
-
-
Save rohmanhm/14e97e6087bd05680a49f9a8930c606d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$num = 10; | |
$column = $num/2; | |
for ($i = 1 ; $i <= $column ; $i++) { | |
echo $i; | |
echo ' ' . ($i + $column) .'<br/>'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment