• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help here

#3
(01-19-2016, 06:20 AM)sv3tli0 Wrote: Converting PHP to CodeIgniter is impossible as CodeIgniter is PHP framework Smile

You have to provide more code and what do you need exactly. At the moment you have just display part of some code and nothing more..

And I don't think that you will get help this way..

maybe I did not explain well, im working with fpdf and i need to do a FOR , like i paste with that array and using in codeigniter 



Code:
    $pdf->SetFillColor(210,210,210); //linea gris
            $pdf->SetTextColor(0,0,0); //texto negro
            $header=array('GRADO','C�DULA','CARNET','NOMBRES Y APELLIDOS');
            $pdf->SetWidths(array(30,40,30,80));
            $pdf->SetAligns(array('C','C','C','L')); //para las celdas de la tabla
                    
            //imprimir encabezado
            for($l=0;$l<count($header);$l++)
                $pdf->Cell($pdf->widths[$l],5,$header[$l],1,0,'C',true);
            $pdf->Ln();
Reply


Messages In This Thread
Need Help here - by morocho1979 - 01-19-2016, 05:46 AM
RE: Need Help here - by sv3tli0 - 01-19-2016, 06:20 AM
RE: Need Help here - by morocho1979 - 01-19-2016, 06:23 AM
RE: Need Help here - by Diederik - 01-19-2016, 07:41 AM
RE: Need Help here - by Wouter60 - 01-19-2016, 01:35 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.