$query = "SELECT * FROM producto LIMIT $num,10;$tabla = mysql_query($query) or die( "Error en Query: $query, error: " . mysql_error();