Sunday, November 21, 2010

How to develop a forum for a web page using HTML, CSS, Javascript and PHP together with Apache?

How to develop a forum for a web page using HTML, CSS, Javascript and PHP together with Apache?



Every time a particular user post his views (text etc), it should appear in the same page together user檚 username.



Give me some sample examples.

Please let me know some references regarding these stuff.



Regards.How to develop a forum for a web page using HTML, CSS, Javascript and PHP together with Apache?
There are a dozen open sources forums available online already (a Google search for ';PHP forum'; listed at least 4 on the first page).



There's no point re-creating the wheel. Start with a forum that is well established, then customise it to your specific needs. This will save you time and money.How to develop a forum for a web page using HTML, CSS, Javascript and PHP together with Apache?
Hello,



Ok, fist I would create a database mySQL to store the data. One table will be topics should id and topicName fields. If you whant sub topics create a table subtopics id, topicName, subtopicName fields. Then create a table resposes with id,topicName,subtopicName, and respose field. Now create a login system to login with username. Then you whant a page that displays links of all topics that goes to subtopics. Just



$sql = ';SELECT * FROM topics';;

$result = mysql_query($sql,$con);



while($row = mysql_fetch_array($result)) {

echo ';%26lt;A HREF='subTopic.php?topic=';.$row['topicNa?br>


Now all links will go to subTopic page you do the same with subTopics.

You just then create A Link to view and new thread link. The new thread will be a form and stores the info in the resposes table. Thats the most of it. Well if you need any more help doing this just email me at jouellet@liquidct.com. Hope that gives you an idea of the process.
I would suggest you to use some open source ready made forum software packages that are available:

www.phorum.org



You can also check

http://www.techunits.com/programming for tips and tricks.
yes, you should use an open source forum - already working, tested and with good support.

Try this: www.phpbb.com - it is mostly popular open source forum. It's easy for install, configure and maintenance.
You may like to take an html tutorial at

http://referencedesigner.com/tutorials/html/html_1.php

No comments:

Post a Comment