Jump to content

[SOLVED] posting into a table?


A2xA

Recommended Posts

[code]I'm wanting a user to post into a table on the same page and it to remain there for a certain period of time. 

where it's going/preview?: [url=http://wiicharged.com/index.php?action=hubs]http://wiicharged.com/index.php?action=hubs[/url]

I have my main file as this:

include("./hubs.html");
include("./put.php");



The hubs.html:
[code]
<html>
<head>
<title>Hubs</title>
</head>
<body>
<form action="put.php" method="post">
Enter your game<input type="text" name="game" />
Friend Code <input type="text" name="fc" />
<input type="submit" />
</form>
</body>
</html>

 

the put.php:

<br />
<br />
Table Below:
<br />
<br />
Username: (Will add later with mysql)
<br />
<br />
Game (This will echo $_POST["game"]
<br />
<br />
FC  (This will echo $_POST["fc"]
<br />
<br />
Personal Message ( will add later with mysql)

 

the put.php is supposedly going to be a table.  Right under the form.  This will then whatever the user posted in the table for 30 minutes or whatever.  Can someone help me please.  Or atleast give me a general understanding of a table? Thanks![/code][/code]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.