Hi there, I am getting a 'no database selected' error when I try to run a query on one of my pages.

[PHP]<?php
session_start() ;
require('safe/fhlogin.inc.php ');
if (!isset($_SESSI ON['wagentje'])) {
$_SESSION['wagentje']['artikels'] = array();
}

$id = $_GET['id'];

if ($_GET['action'] == 'add') {
if (isset($_GET['aantal'])) $aantal = $_GET['aantal']; else...