LAMA type fout!
Klopt :D
Doe het zo:
<?php
$query = mysql_query("SELECT COUNT(*) as aantal FROM users") or die(mysql_error());
$aantal = mysql_fetch_object($query)->aantal;
?>
Het zou moeten werken ;P
tog bedankt:)

Reageren