Hi all Doing a project for Uni here and am having a problem Insert date into one table the Code I am using as as follows
<?php
$Conn = odbc_connect ('0602', 'root', '');
$fbcom = $_REQUEST['fbcom']; $fbrating = $_REQUEST['fbrating']; $fbdate = $_REQUEST['fbdate']; $fbcust = $_REQUEST['fbcust']; $fbdate = $_REQUEST['fbdate'];
$post = odbc_prepare($Conn, "INSERT INTO feedb(comments, rating, date, Custid)VALUES('$fbcom', '$fbrating', '$fbdate', '$fbcust')");
if (!odbc_execute($post))
{echo "Feedback Table Update failed";}
else {{echo "Feedback Table Updated";}
?>
I am usig microsoft access as my database, I have the same code from inserting data into two tables and it works fine on that, I have removed all relationship from the feedback table so at the moment nothing else effects it and it has one more field that is a primary key that is set using auto number,
this ha mt stumped and I need help big time.