Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/04/2016, 08:43
tatto_gjbh
 
Fecha de Ingreso: abril-2016
Mensajes: 9
Antigüedad: 8 años, 1 mes
Puntos: 0
Exclamación Echo en un campo nvarchar(max)

Amigos si ayuda por favor tengo el siguiente codigo

<?php
$listacampos2=<<<QUERY
select d.NIG,aj.NUMPRO AS numpro,
convert (VARCHAR(20), aj.CREACION_FECHA, 113) AS fechacrea,
convert (VARCHAR(20),aj.CAMBIO_FECHA,113) AS fechamod, aj.ANYPRO AS anypro,
aj.DESCRIPCION AS descri,
aj.CONTENIDOJUSTICIA AS contejus, --este campo es nvarchar(max)
--'' AS descri,
--'' AS contejus,
aj.CREACION_USUARIO AS creacionusu,
di.PONENTE AS ponente,aj.CSV AS csv
from dasu d
inner join Actividades_Justicia aj on d.IDHISPRO=aj.IDHISPRO
inner join dhisiti di on d.IDHISPRO=di.IDHISPRO
where d.NIG='{$_POST["pVar1"]}'
QUERY;

$rs_gogessform = $DB_gogess->Execute($listacampos2);
if(!$rs_gogessform->EOF){
while (!$rs_gogessform->EOF) {?>
<tr class="linea1">
<td height=5 align="top"><?php echo $rs_gogessform->fields["fechacrea"];?></td>
<td height=5 align="top"><?php echo $rs_gogessform->fields["fechamod"];?></td>
<td><?php echo utf8_encode($rs_gogessform->fields["descri"]);?></td>
<td><?php echo utf8_encode ($rs_gogessform->fields["contejus"]);?></td> <!-- estoy imprimiento el valor en esta linea pero es demaciado grande el campo y no se que hacer -->
<td><?php echo $rs_gogessform->fields["creacionusu"];?></td>
<td><?php echo $rs_gogessform->fields["ponente"];?></td>



el problema esta marcado con rojo muchas gracias por su ayuda de ante mano