Hi Guys,
Does anyone know if its possible to change the colour of text in a table dependant on what the text is.
example:
I grab multiple rows from database, then in while loop I am adding the data to an array (which will become the rows in the table). Then when while loop is finished, create table using the array created as the rows.
I have read all the documents I can find about ezPDF and ezTable, and nothing seems to suggest I can change the text colour dynamically. They only suggest changing it when you create the table.
I tried adding $pdf->ezText($pdf->setColor(0,0,128) .$rowData) inside the array for the row, and although it did change the colour... it was outside the table and messed the table up miserably!
Any help would be much appreciated.
Thanks.