$pendReasonNA="select cmpID from onlinecmp where year(cmpDate)='2014'
and rectstatus=0
and rectremarks='Not Available in store'
order by cmpID asc";
$query3=mysql_query($pendReasonNA);
$num_rows=mysql_num_rows($query3);
while($result=mysql_fetch_array($query3))
{
$pdf->Cell(55, 6, $result[0], 1, 0, 'L', 1);
}
In the above code what i am getting is value of $result in multiple cells one beside the other. i would like to print all the values in array $result with a comma separating each array value in a single cell(above cell) in fpdf. How do i achieve this in fpdf?Plz help.