i am trying to build a simple forum .. by following a tutorial here ... http://www.phpgang.com/create-a-simple-forum-in-php_158.html its working of the html php mysql .. might look like this ... i am a noob .. still trying to understand .. how a programming language works ...
Hello, Well, I think you have to learn more about HTML, PHP and MySQL before trying to create something like that. If you need to create a forum, there are alot of free scripts, like MyBB, PhpBB, etc. Good luck!
I think you trying to make "step 2" and you didn't make "step 1" so start from here: http://www.w3schools.com/php/default.asp and learn "step 1" ad then proceed to "forum task" which would be step 2
I could be wrong but I'm just expressing my honest opinion to OP. While the article shows a simple example on what to do, I don't particularly like how this is being taught. You should start with something a little more simple like perhaps creating an html form that posts to a php page which inserts the data into a database. It is more or less the same concept involved with a forum but simpler - to get started I mean. In that way, you get the opportunity to learn what each and every function does (PHP aspect) while referring to the php documentation on php dot net. TIP: I use phpmyadmin to create tables in mysql since its so much easier (since its a fairly decent user interface) but also because it shows you the actual SQL statements being generated. This helps you to quickly learn the database commands (SQL) or use it as a "refresher". After you successfully build a form that creates entries into a database, then proceed to create a page using PHP to access the entries in the database. A simple forum is essentially the above (using specific fields) with an authentication method to differentient one user's post from the other. Good luck with your learning and development
yea thanks a lot .. for the replies.. few days ago.. i thought .. it was the space in mysql table that was displayed in a forum form ... you know the varchar , longtext .. things like that ... now i know that you call the html page with a form and script in it ...