yes, you can do it like that.
then when you fetch the array, (lets say into $foo), you access it using
$foo["sum_personen"]
IF you don't do the AS sum_personen and just leave it at
$query = "SELECT SUM(personen)
FROM boekingen WHERE optie = 0 AND datum = '20030318'";
If i remember correctly, you can access it like this
while($row = mysql_fetch_assoc($query)) {
echo $row[sum(personen)];
// not sure on that one. It may even be $row["sum"]["personen"]
// you'll have to test it to be sure
Cgraz