Back to Home Previous Course Next Course
You can pass more than one value over to your methods. Add the following method to your MyMethods class:

All this method does is to print something out. Between the round brackets of the method name we have two values, a String variable called aString and an[......]
Read More…
Back to Home Previous Course
There is no form for a new member to sign up to the forum. Write the code for this, and add links to the signup page in the rest of the forum. Here’s a few things you’ll need to bear in mind.
-
The Table is called members
-
Primary Key is in the format mem1, [......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
At the top of the code for the resultsP.php page, there’s two functions. We’ll[......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
The final part of the walkthrough looks at how to allow users to post a new topic on the forum. [......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
There’s not too much code in the results.php page. All we need to do here is to INSE[......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
In the last section, there was a variable called $replyHTML. This is a hyperlink that, when[......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
The code for the pageReply.php page is a little bit longer than the others. This page has t[......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
The next thing to do is to print out all the information we stored in our 2D array. We̵[......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
The next thing we need to do is find out which member posted the original thread. The code [......]
Read More…
Back to Home Previous Course Next Course
This lesson is part of an ongoing Foruml tutorial. The first part is here: Build your own Forum, along with all the files you need. The previous lesson is here.
We’ve just used a 2D array to store the row information from our database table. Each[......]
Read More…