esposimi

create_table.php

Mar 24th, 2011
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>Create Table</title>
  7. </head>
  8. <body>
  9. <?php
  10. function CreateTable()
  11. {
  12.     echo '<table width="100%" border="1" cellspacing="1"            cellpadding="1"';
  13.     echo "<tr>";
  14.     echo '<th scope="col">ID</th>';
  15.     echo '<th scope="col">Full Name</th>';
  16.     echo "</tr>";
  17.     echo "<tr>";
  18.     echo "<td align=‘center’>001</td>";
  19.     echo "<td align=‘center’>Jameson McFarlane</td>";
  20.   echo "</tr>";
  21. echo "</table>";
  22. ?>
  23. CreateTable();
  24. </body>
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment