Liquorvicar,
I have tested both codes and know that they work but let's take things from the beginning.
I have the following pages:
PlaceOrder.html which has the following:
<form name="PlaceOrder" id="form2" method="post" Action="PlaceOrderFinal.php">
<table width="589" border="1" cellpadding="5" cellspacing="15" bgcolor="#DDDDDD">
<tr>
<td>Category Name : </td>
<td><input name="CategoryName" type="text" id="CategoryName" /></td>
</tr>
<tr>
<td>Insucance:</td>
PlaceOrder.php which has the following in order for my client to make the insertions:
<?php
include 'connectdb.php;
include 'View_my_Order.php';
?>
<?php
mysql_query ("INSERT INTO transportationcharges (TransportationUnit)
VALUES
('$_POST[TransportationUnit]')");
mysql_query($query) or die(mysql_error());
mysql_close();
?>
etc.
and the View_my_Order.php which has the following in order for my client to see his/her order:
Which has select statements retrieved from db, date and the insertions the client placed with the place order.php
Unfortunately the insertions are not placed in the db. How can I do that?
Thank you in advance for your effort.