I am looping through some vbulletin calls that I have been trying to get to work with fpdf
$query =$vbulletin->db->query_read("SELECT title FROM thread ORDER BY dateline DESC LIMIT 10");
$i = 1;
$array = $vbulletin->db->fetch_array($query);
//loop through the database and get the last 10 posts
while ($array = $vbulletin->db->fetch_array($query))
{
$title = $array['title'];
$pdf->Write(7,$title);
$i++;
}
If you go to this Link i cannot get the titles to break <br> in the while loop. I know that it is something small, but I just am not thinking correctly
I would appreciate anyone's feedback/help
Thanks
Mike