I posted this at vb.com and vb.org and no one replied. People here seem to be much nicer to people asking questions
If anyone is familiar with vbulletin and their calls, I guess that is what I am looking for
I have been messing around with the fpdf class and have been able to get the last 10 posts titles into a pdf >> http://www.sportsrant.com/test2.php using this query:
PHP Code:
$query =$vbulletin->db->query_read("SELECT title FROM thread ORDER BY dateline DESC LIMIT 10");
$i = 1;
$array = $vbulletin->db->fetch_array($query);
while ($array = $vbulletin->db->fetch_array($query))
{
$title = $array['title'];
echo "$title<br />";
$i++;
}
What I am trying to do is get each first post = text with each title and and maybe limiting it to LIMIT 1 and store all that information into a $variable
then
make it a link to click on
like test.php?title=$title&post=$post
Again I tried over at vb.com & vb.org but no one would answer and the tutorials are too basic
Thanks in advance
Mike