I am doing a project on php and sql and it involves posting of quetions by various persons and replying to those questions(which is a dicussion forum). Can i add text boxes for posting a question and displaying answers to those questions from a database. can u help me out on this problem

Make a page that does the following:

-Checks for submitted posts(e.g: if(isset($_POST)) ) and inserts them into the DB
-Queries the DB for posts and displays them
-Displays an HTML form for submitting a new post

Most of this is pretty straightforward. If you're not sure how to do this, look for tutorials on:

-SQL queries: SELECT, INSERT
-MySQL functions: mysql_query(), mysql_fetch_array()
-HTML forms
-PHP form processing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.