Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- try
- {
- $sql = 'SELECT name, date, description, place, teacher, price, time, max_people FROM events WHERE time LIKE "F%"';
- $result = $pdo->query($sql);
- }
- catch (PDOException $e)
- {
- $error = 'Error fetching description: ' . $e->getMessage();
- include 'error.html.php';
- exit();
- }
- foreach ($result as $row)
- {
- $descriptions[] = array( 'name' => $row['name'],
- 'date' => $row['date'],
- 'description' => $row['description'],
- 'place' => $row['place'],
- 'teacher' => $row['teacher'],
- 'price' => $row['price'],
- 'time' => $row['time'],
- 'max_people' => $row['max_people']
- );
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement