writing to file help.. pleaaaaaase
Posted: Tue Nov 01, 2005 1:33 pm
i have this script (and i know that the echo doesnt function to begin with) but i need this form to update a file everytime it is submitted. But this is all i could figure out.... any help please?
PHP Code:
PHP Code:
Code: Select all
<form action="showspost.php" method="post">
<input type="text" name="date" value="Date">
<br>
<input type="text" name="Event" value="Event">
<br>
<input type="text" name="Place" value="Place">
<br>
<textarea name="bands">
Bands
</textarea>
<br>
<input type="submit" value="Submit">
</form>
<?php
echo ('<table>')
echo('<tr><td>' $variablename=$_POST['date']; '</td><td>' $variablename=$_POST['event']; '</td><td>' $variablename=$_POST['Place']; '</td><td>' $variablename=$_POST['bands']; '</td><td>' )
echo ('</table>')
?>