Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <?php select($dir, $base); ?>
  2.  
  3. function select($dir, $base){
  4. $base_hndl = new SQLite3($dir.$base);
  5. $requete = "SELECT id, title, start, end, description FROM "event" ORDER BY id DESC";
  6. $resultat = $base_hndl->query($requete);
  7. $affiche = $resultat->fetchArray();
  8.  
  9. echo "<br><label><b>ID: $affiche[id]</b></label><br>";
  10. echo "<label><b>Title: $affiche[title]</b></label><br>";
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement