Danke, sieht gut aus:
$q = "
SELECT TIMESTAMPDIFF( YEAR, '1887-10-24', '1959-10-23') as 'alter'";
$res = @mysql_query( $q, $conn_id ); zeigSqlFehler( $q, $conn_id );
$row = @mysql_fetch_assoc( $res );
echo $row['alter']."<br>";
$q = "
SELECT TIMESTAMPDIFF( YEAR, '1887-10-24', '1959-10-24') as 'alter'";
$res = @mysql_query( $q, $conn_id ); zeigSqlFehler( $q, $conn_id );
$row = @mysql_fetch_assoc( $res );
echo $row['alter']."<br>";
71 Jahre
72 Jahre