Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php select($dir, $base); ?>
- function select($dir, $base){
- $base_hndl = new SQLite3($dir.$base);
- $requete = "SELECT id, title, start, end, description FROM "event" ORDER BY id DESC";
- $resultat = $base_hndl->query($requete);
- $affiche = $resultat->fetchArray();
- echo "<br><label><b>ID: $affiche[id]</b></label><br>";
- echo "<label><b>Title: $affiche[title]</b></label><br>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement