Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: tg_33 on April 07, 2011, 01:11:10 AM

Title: SSI formating help - Adding latest posts to index
Post by: tg_33 on April 07, 2011, 01:11:10 AM
I am new to using ssi with php.  I have the ssi adding the latest posts to the form I created but am unsure how to format it to fit.

I also need to remove the boards and be able to edit it to fit my table.

http :// greenbusinessjournal.org/test2/example.php

Thanks.

tg
Title: Re: SSI formating help - Adding latest posts to index
Post by: tg_33 on April 07, 2011, 01:28:56 AM
any help or direction to guides would be greatly appreciated.
Title: Re: SSI formating help - Adding latest posts to index
Post by: Kindred on April 07, 2011, 07:15:58 AM
please do not bump... especially within 20 minutes.

instead of 'echo' as an ssi function argument, use 'array'

i.e.
$lotsatopics=ssi_recentTopics(8, null, null, 'array');

and then parse it out using a foreach