What can I do to so when a second form is submitted the information will create an be sent to 2.php and a third submission would be 3.php and so on...
Thank you very much
<html>
<head>
<title>Form to Flat File</title>
</head>
<body>
<?php
$user = $_GET["name"];
$message = $_GET["message"];
print("<b>Thank You!</b><br />Your information has been added! You can see it by <a href=1.php>Clicking Here</a>");
$out = fopen("1.php", "w");
if (!$out) {
print("Could not append to file");
exit;
}
fputs ($out,implode,("\n"));
fwrite($out,"<b>$user</b><br />$message<br /><br />");
fclose($out);
?>
</body>
</html>

New Topic/Question
Reply




MultiQuote




|