PHP-Message Board Help?
-
I am just trying to start php -also any tutorials recommended- and I am trying to make a message board for practice. It works but when I type something new the previous message goes away. I understand why this happens just dont know how to fix it... I have a html file and a php file index.html- <!DOCTYPE html> <html><body> <h4><u>Message Board</u></h4> <form action="myfirstfile.php" method="post"> <input name="message" type="text" /> <input type="submit" name="formSubmit" value="Submit" style="height: 0px; width: 0px; border: none; padding: 0px;" hidefocus="true" /> </form> </body> </html> myfirstfile.php- <?php include 'index.html'; $message = $_POST['message']; echo "$message"; ?>
-
Answer:
You should be more specific . And what I get from your question is you input a message it displays then again you input a message the older one goes away and the newer one is displayed . Look this cant be done only with PHP i am not sure but may be you can but it requires a mySQL database to hold stuff and display it . visit -> developphp.com and phpacademy.com > for great tutorials Now how you do this is I wont be writing the code but when you post the message it goes to the mySQL database and gets stored there then you pull the data outta there and display it on the screen . With certain parameters like DESC and LIMIT 1 . if you are a noob you wont get these but thats how its done .
UMM at Yahoo! Answers Visit the source
Related Q & A:
- What is the largest free message board on the Internet?Best solution by thebiggestboards.com
- Can I edit my message on the message board?Best solution by answers.yahoo.com
- Where to find a cool message board?Best solution by finance.yahoo.com
- How to delete a post in yahoo finance message board?Best solution by Yahoo! Answers
- Can I contest the deletion of a message I posted on a Yahoo finance message board?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.