Foros del Web » Programando para Internet » PHP »

Problema con multicell

Estas en el tema de Problema con multicell en el foro de PHP en Foros del Web. INTENTO UTILIZAR EL MULTICELL EN EL MMSSQL TABLE PERO PASA QUE LAS COLUMNAS SALEN UNA DEBAJO DE LA OTRA.. AHI DEJO EL CODIGO SALUDOS--- Código ...
  #1 (permalink)  
Antiguo 27/12/2008, 08:12
 
Fecha de Ingreso: diciembre-2008
Mensajes: 5
Antigüedad: 15 años, 4 meses
Puntos: 0
Problema con multicell

INTENTO UTILIZAR EL MULTICELL EN EL MMSSQL TABLE PERO PASA QUE LAS COLUMNAS SALEN UNA DEBAJO DE LA OTRA.. AHI DEJO EL CODIGO

SALUDOS---

Código PHP:
function TableHeader()
{    
    
$this->SetFont('Arial','B',9);
    
$this->SetX($this->TableX);
    
$fill=!empty($this->HeaderColor);
    if(
$fill)
        
$this->setTextColor(255,255,255);
        
$this->SetFillColor($this->HeaderColor[0],$this->HeaderColor[1],$this->HeaderColor[2]);
    foreach(
$this->aCols as $col)
    
        
$this->MultiCell($col['w'],4,$col['c'],1,'J',$fill);//
        
$this->Ln();
}

function 
Row($data)
{
    
$this->setTextColor(0,0,0);
    
$this->SetX($this->TableX);
    
$ci=$this->ColorIndex;
    
$fill=!empty($this->RowColors[$ci]);
    if(
$fill)
        
$this->SetFillColor($this->RowColors[$ci][0],$this->RowColors[$ci][1],$this->RowColors[$ci][2]);
    foreach(
$this->aCols as $col)
        
$this->MultiCell($col['w'],5,$data[$col['f']],1,$col['a'],'J',$fill);
    
$this->Ln();
    
$this->ColorIndex=1-$ci;

Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 09:15.