Sorry for being such a newbie but I spent ALL yesterday trying to do this with no success. each website is telling me something different so i am very confused.
i have a very simple database with 4 columns of data:
column 1="PRIMARYKEY" field type=INTEGER
column 2="CLIENT" field type=VARCHAR
column 3="LIVEDATE" field type=DATE
i have included a form underneath. the code for this is as follows:
<form name="form1" method="post" action="submit.php"
}
?>
<p>Primary Key:
<input name="primarykey" type="text" id="primarykey" maxlength="4">
</p>
<p>Client:
<input name="client" type="text" id="client" maxlength="50">
</p>
<p>Live Date:
<input name="livedate" type="text" id="livedate" max length="10">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
the action part of this form refers to a file called submit.php.
could anyone please tell me EXACTLY what code i need to put inside submit.php to have my form add a new record onto my Borland Interbase database when the user clicks the submit button. All I want is a snippet of code that will actually work. I have been trying for hours and am close to tears.
many thanks for any help