/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 php/planlunch.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-14 05:57:39 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130414055739-vwcqdu91f3umwqv7
ohoeauht

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php ?>
2
 
<form method="POST" action="">
3
 
  <div id="datetimepicker" class="input-append date">
4
 
    <input data-format="yyyy-MM-dd hh:mm:ss" type="datetime" name="date"> </input>
5
 
    <span class="add-on">
6
 
      <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
7
 
    </span>
8
 
  </div>
9
 
  </script>
10
 
    <script type="text/javascript">
11
 
      $('#datetimepicker').datetimepicker({
12
 
     });
13
 
  </script>
14
 
  </body>
15
 
  <input type="text" name="message">
16
 
  <button type="Submit" name="SuggestLunch">Föreslå lunch</button>
17
 
        </form>
18
 
        <?php
 
1
<?PHP
 
2
        echo '<form method="POST" action="">';
 
3
        echo '<input type="datetime" name="date">';
 
4
        echo '<input type="text" name="message">';
 
5
        echo '<button type="Submit" name="SuggestLunch">Föreslå lunch</button>';
 
6
        echo '</form>';
 
7
        
19
8
        $user2 = htmlspecialchars($_GET['uid']);
20
9
        if (isset($_POST['SuggestLunch'])) {
21
10
                $query = "INSERT INTO planLunch (
44
33
                        var_dump($err);
45
34
                }
46
35
        }
47
 
?>
 
36
?>
 
 
b'\\ No newline at end of file'