Skip to content

Instantly share code, notes, and snippets.

@rohmanhm
Created August 31, 2016 06:41
Show Gist options
  • Save rohmanhm/14e97e6087bd05680a49f9a8930c606d to your computer and use it in GitHub Desktop.
Save rohmanhm/14e97e6087bd05680a49f9a8930c606d to your computer and use it in GitHub Desktop.
<?php
$num = 10;
$column = $num/2;
for ($i = 1 ; $i <= $column ; $i++) {
echo $i;
echo '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . ($i + $column) .'<br/>';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment