Hello. I am a newbie. I know nothing about databases- but I am trying hard to catch up.
All I need is 1 simple script to work! (I've tried free scripts, but they're still too complicated for me!)
I want a couple forms and a button. You fill out the form, press the button, and have it write to a txt file in my database.
I am hosted on geocites, have the php 4.1, mySQL, all that good stuff.
Does anyone have any simple suggestions? The forms are below, all I need is the PHP to make it work.
<form name="mailform" method="post" action="C:\WINNT\Profiles\ws1852\Desktop\trial.cgi">
<table width="80%" border="0" cellspacing="0" cellpadding="4" align="center">
<tr> <td align="right" width="37%"><b>Name:</b></td>
<td width="63%">
<input type="text" name="name" size="30" maxlength="45">
<input type="hidden" name="account" value="3">
</td>
</tr>
<tr>
<td align="right" width="37%"><b>Email Address:</b></td>
<td width="65%">
<input type="text" name="emailaddress" size="30" maxlength="45">
</td>
</tr>
<tr>
<td align="center" colspan="3">
<input type="submit" value="SEND ME A TRIAL VERSION!">
</td>
</tr>
</table>
</form>