Je moet ingelogd zijn om te stemmen.
<? $q = mysql_query("SELECT DATE_DIFF( CURRENT_DATE() , datum ) AS verschil FROM table LIMIT 1"); $row = mysql_fetch_assoc( $q ); echo $row['verschil']; ?>
<?$q = mysql_query("SELECT DATE_DIFF( CURRENT_DATE() , datum ) AS verschil FROM table LIMIT 1"); $row = mysql_fetch_assoc( $q ); echo $row['verschil'];?>