Browse Source

added FUTURE messages

master
n0m1s 10 years ago
parent
commit
20249e1fd1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      getEvents.php

+ 2
- 0
getEvents.php View File

@ -125,6 +125,7 @@ function getEventsSince($db,$date)
*/
function getEvents()
{
//FUTURE: delete this function
$pdo = connect();
$stmt = $pdo->prepare('SELECT titre, localisation, dtstart, dtend, description, url FROM events, categorie WHERE events.categorie = categorie.id');
$stmt->execute();
@ -137,6 +138,7 @@ function getEvents()
*/
function getEvent($id)
{
//FUTURE: delete this function
$pdo = connect();
$stmt = $pdo->prepare('SELECT titre, localisation, dtstart, dtend, description, url FROM events WHERE id = ?');
$stmt->execute(array($id));


Loading…
Cancel
Save