/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to look_in_db.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-14 06:18:19 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130414061819-srmgejb8a9geyw1g
added a date-picker that workes with 'all' browsers

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
        <body>
 
3
                <?php
 
4
                        include "./php/db.php";
 
5
                        $query = "SELECT * FROM planLunch";
 
6
                        $userinfo = $db->query($query);
 
7
                        $fetch = $userinfo->fetchAll();
 
8
                        echo '<table border="1">';
 
9
                        foreach ($fetch as $fetcha) {
 
10
                                echo "<tr>";
 
11
                                foreach ($fetcha as $fetchb) {
 
12
                                        echo "<td>";
 
13
                                        echo $fetchb;
 
14
                                        echo "</td>";
 
15
                                }
 
16
                        echo "</tr>";
 
17
                        }
 
18
                echo "</table>";
 
19
                ?>
 
20
        </body>
 
21
</html>