Sorry für Doppelpost, aber ich konnte es nun, nachdem ich PHP: Hypertext Preprocessor durchstudiert hab, selbst lösen. Keine Ahnung ob es elegant ist, aber es funktioniert :) :
<?php
include 'config.php';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) OR die(mysql_error());
$db_selected =...