I need like,
The customer chooses selected courier service and enters tracking id then clicks its redirect to the appropriate courier service website.
eg: If tracking id 12345 the redirect link should be https://www.fedex.com/apps/fedextrac...&cntry_code=in
How to do for India courier services?
My code:
Now I have added only one courier service, how can i add more than one courier service URL
The customer chooses selected courier service and enters tracking id then clicks its redirect to the appropriate courier service website.
eg: If tracking id 12345 the redirect link should be https://www.fedex.com/apps/fedextrac...&cntry_code=in
How to do for India courier services?
My code:
Code:
<!DOCTYPE HTML>
<html>
<body>
<form action="#" method="post">
Select Courier :
<select name="courier">
<option value="">--Please choose an option--</option>
<option value="professional_courier">Professional Courier</option>
<option value="india_post">India Post</option>
</select>
Trackingid: <input type="text" name="trackingid"><br>
<input type="submit">
</form>
<?php
if (!empty($_POST)): header("Location: https://www.tpcindia.com/Tracking2014.aspx?id=".$_POST["trackingid"]."&type=0&service=0");
endif;
?>
</body>
</html>
Comment