Displaying information from a database
I'm working on a forum. I would like to simple have php or html pull some info from my mysql database and put it on the s开发者_JS百科creen. Below is the table... do I use php for this? Thanks!
`forum_topic` varchar(65)
`forum_prefix` varchar(65)
`forum_title` varchar(65)
`forum_content` longtext
You can do this with php and mysql, it is not quite so straight forward though, you might want to look at this:
http://net.tutsplus.com/tutorials/php/how-to-create-a-phpmysql-powered-forum-from-scratch/
or this :
http://www.phpeasystep.com/phptu/12.html
Yes, this would be done in your php code.
精彩评论