Skip to content

Instantly share code, notes, and snippets.

@facumartig
Created July 13, 2013 20:23
Show Gist options
  • Save facumartig/5992090 to your computer and use it in GitHub Desktop.
Save facumartig/5992090 to your computer and use it in GitHub Desktop.
<?php include './functions.php'; ?>
<tr>
<?php
for ($i = 1; $i <= $days_number; $i++) {
echo "<td>".$i."</td>";
if ($i % 7 == 0){
echo "</tr><tr>";
}
}
?>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment