FPDF : Table Cell Line Break after 10 cells
<p>hey guys its me again </p>

<p>I am trying to copy this output 
<a href="https://i.stack.imgur.com/UvtjL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UvtjL.jpg" alt="enter image description here"></a></p>

<p>but my output in fpdf is like this</p>

<p><a href="https://i.stack.imgur.com/c7jGf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7jGf.png" alt="enter image description here"></a></p>

<p>and this is my code:</p>

<pre><code>    $pdf = new PDF();
    $pdf-&gt;AliasNbPages();
    $pdf-&gt;AddPage('L');
    $pdf-&gt;SetFont('Arial','',11);
    $pdf-&gt;Cell(112);
    $pdf-&gt;Cell(45,10,'Teacher'."'s ".'Table',1,'','C');
    $pdf-&gt;Ln(20);
    while($row = mysql_fetch_array($result)){
        $fname = $row['stud_fname'];
        $lname = $row['stud_lname'];

        $pdf-&gt;SetFont('Arial','',11);
        $pdf-&gt;Cell(35,10,$lname.", ".$fname,1,'','C');
    }
    $pdf-&gt;Output();
</code></pre>

<p>the out put should be five cells in the left then (space) and another five cells in the right</p>