Ver original$query = "SELECT DATEDIFF(NOW(),desde) dias_desde FROM TABLA";$result = mysql_query($query, $conn); while ($row = mysql_fetch_row($result)){ $num = $row[0]; echo $num . "-" . row[0];}