/* this script creates the insert_transaction form */
PRINT "";
PRINT "
Insert New Transaction";
PRINT "";
/* declare some relevant variables */
$dbname = "example";
/* MySQL table for customers */
$customer = "customer";
/* MySQL table for products */
$product = "product";
/* make connection to database */
MYSQL_CONNECT("localhost","nis","thomas") OR DIE("Unable to connect to database server");
@mysql_select_db("$dbname") or die("Unable to select database");
PRINT "
";
PRINT "Insert the data for a new transaction:";
PRINT "
";
PRINT "
";
PRINT "
";
PRINT "
";
PRINT "";
PRINT "
";
PRINT "
";
PRINT "
";
PRINT "
";
PRINT "Back";
PRINT "";
PRINT "";
/* Close the database connection */
MYSQL_CLOSE();
?>