If you visit RSGE + [x]Item[x] and you just click 'submit query' or the submit button, you are redirected to save.php, then you are redirected to the item list. I want the item list to be in a table, but it doesn't come up as one..
Save.Php Code:
<html>
<head>
<title>Ohaider</title>
</head>
<body>
<meta http-equiv="Refresh" content="5; url=./forms/description.html">
<?php
$rsn = $_POST[rsn];
$date = $_POST[date];
$mod = $_POST[mod];
$why = $_POST[why];
$data = "$rsn $date $mod $why";
//open the file and choose the mode
$fh = fopen("./forms/description.html", "a");
fwrite($fh, $data);
//close the file
fclose($fh);
?></table>
Thank for submitting your information. You will be redirected shortly to <b>http://rsge.org/forms/Ohi.html.</b> This is our main buy/sell page. And again, thanks.
</body>
</html>
Description.html (Item List)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Untitled document</title> </head> <body> <p><span style="font-size: medium;"><span style="font-family: 'arial black','avant garde';">Here are the waiting to be sold or people waiting to buy: ( [****] = space between each seller )<br /> </span></span></p> <p> </p> </body> </html>
Edited by Orjan, 04 October 2010 - 02:26 PM.
removed non-working link


Sign In
Create Account


Back to top









