Skip to content

Instantly share code, notes, and snippets.

@adin234
Created December 7, 2014 06:09
Show Gist options
  • Select an option

  • Save adin234/5f654a68540d9e637e11 to your computer and use it in GitHub Desktop.

Select an option

Save adin234/5f654a68540d9e637e11 to your computer and use it in GitHub Desktop.
table sample from a professor
<?php
echo '<table>';
echo '<tr><td colspan=2>1. PHP Data Types</td></tr>';
echo '<tr><td>1a. $myinteger</td><td>', var_dump($myinteger), '</td></tr>';
...
echo '<tr><td colspan=2>2. PHP Arithmetic Operators</td></tr>';
echo '<tr><td>2a. $myinteger + 20 * 2</td><td>', var_dump($myinteger + 20 * 2), '</td></tr>';
...
echo '</table>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment