i have created a very small INTERBASE database for test purposes and have successfully connected to it & displayed it on a web page. the database only has three columns of data all with a field type of VARCHAR.
i have created a form underneath to insert a new record. the action tag for this form links to a file called submit.php which looks like this:
<?php
$primarykey=$POST['primarykey'];
$client=$POST['client'];
$dbversion=$_POST['dbversion'];
$query="insert into version_control (PRIMARYKEY, CLIENT, DBVERSION) values
('$primarykey','$client','$dbversion')";
?>
however its not working. can anyone tell me where i am going wrong. P.S. a previous .php file used the pconnect command to create a persistant connection so i presume i dont have to reconnect again within this script(however even if so i have tried this also and this also doesnt work)
also does anyone know where i can find some useful beginner documenation on PHP & interbase as i cant seem to find much.
cheers for the help
p.s. grumbler if your reading this i removed the date fields and have tried to strip down code to bare minimum to see what problem is