How to show a forum post on another page using PHP???

Philippines
August 19, 2009 1:25am CST
I wanted to make a webpage of my own... for the sake of our group... i have a forum as well where i post news and latest happenings there... now my question is, how can i show the post in my forum in another page, probably the main page, so that they don't have to go to the forum just to see the latest news and happenings????... i searched the net but i am not lucky enough to find the answer my self... so i tried it here, maybe some of you mylotters can help me with my problem....
1 person likes this
3 responses
• India
20 Aug 09
hi, if u wanna show the link to ur forum in ur main page u can use 'a href' command if u wanna show the latest news in ur forum u hav to make the latest news in a database table and call it in the main page plz express ur idea so tht we can help regards shivram
• India
20 Aug 09
can u show me where u hav seen the type u wanted. i think ur asking for a php code to display the title of ur forum topic in another page
• India
20 Aug 09
if u want to show the latest news u added in ur forum to main page u hav to first create a database table with latest news,everytime u update the latest news the table must be updated the query is "update news set latestnews='matter'" this query updates the colmn latestnews in table news.(this must run aftr the submit of latest news) then in the main page call it from database by this query "$qry=select *from news; $res=mysql_query($qry); $raw=mysql_fetch_array($res); echo "a href=".$raw['latestnews']"/a"; hope u understand it
@kircho (493)
• Bulgaria
19 Aug 09
are you trying to post a forum post in front of your forum home page or another web-site home-page. You need to write some additional info. I hope I can help you.
• Philippines
19 Aug 09
i wanted to post a forum post in my web-site homepage... Ex: my forum is in here - domain.com/myforum and i wanted to post it in my homepage which is in - domain.com How can i do that???
@1anurag1 (3576)
• India
15 Sep 09
I think the data of the forum might be saved in databse u dont have to worry about this then what ever the page u want to use as the display page for some of the content,u first decide how many and what type of post u want to display and create a dataconnection on that particular page on which u wud like to show. and finlly access and display the data there