I have a page index.php where i have my datepicker.
[php]
<form method="post" action="insertionform.php" name="index" onSubmit="return validateForm()">
Pick Up Date :
Drop off date :
[/php] It will pass the date values to the nxt page which is the insertionform.php [php] <?php $confirmation_code=md5(uniqid(rand())); $pickupdate = $_POST['pickup']; $dropoffdate = $_POST['dropoff']; ?>
[/php] The action in insertionform.php is custsave.php where the execeution of insertion happens. [/php] So after insertion it will go to Other_details.php [php] <?php include('db.php'); include('func.php'); $pickupdate=$_POST['pickup']; $dropoffdate=$_POST['dropoff']; ?>
Truck Type :
"> ">
[/php] and the PROBLEM is i can’t get the value of the pick up date and drop off date, so what is the simplest possible solution for this. I’m looking forward for your help immediately. |