Código PHP:
Ver original<?php
include("Conexion.php"); //conexion
$ruc = $rs['RUC'];
$total = $rs['TOTAL'];
$fecha = $rs['FECHA'];
$tabla[] = $ruc . "\t";
$tabla[] = $total . "\t"; //DIMPORT
$tabla[] = $fecha . "\t"; //DDATE
$tabla[] = "\r\n";
$tabla[] = $ruc . "\t";
$tabla[] = $total + 1 . "\t"; //DIMPORT
$tabla[] = $fecha . "\t"; //DDATE
$tabla[] = "\r\n";
$tabla[] = $ruc . "\t";
$tabla[] = $total+2 . "\t"; //DIMPORT
$tabla[] = $fecha . "\t"; //DDATE
$tabla[] = "\r\n";
}
$tabla = join('', $tabla); ?>
Probalo asi ;)