need help with adding text to a file using php
Posted: Fri Nov 27, 2009 8:46 pm
Ok I searched your forum and got 24000 results on this topic. I also searched google. I need a php code that will work with this form.
I need this code so I can add text to a .txt file for an easy way to get messages. Can someone make the php code I need? Wouldn't it use fwrite()? I don't know much about php. Thank you in advance.
Code: Select all
<form action="code.php">
<b>Shoutout:</b><br />
<input type="text" size="20" maxlength="160"><br />
<input type="submit" value="Submit"><input type="reset" value="Clear">
</form>