Header is not working in IE
Posted on
16th Feb 2014 07:03 pm by
admin
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :
if (isset($_POST['sub1'])) {
$id = $_POST['cscstest'];
$qty = $_POST['cscsqty'];
$id = $_POST['cscstestmul'];
$qty = $_POST['multiqty'];
$id2 = $_POST['extralan'];
$qty2 = $_POST['languagetestqty'];
If (!empty($_POST['cscstest'])) {
$id = $_POST['cscstest'];
$qty = $_POST['cscsqty'];
$_SESSION['cscstest'] = $id;
$_SESSION['cscsqty'] = $qty;
$_SESSION['cscsqty'] = isset($_POST['cscsqty']) && $_POST['cscsqty'] > 0 && is_numeric($_POST['cscsqty']) ? $_POST['cscsqty'] : 1;
$add_item = add_to_cart_multiple($id, $_SESSION['cscsqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['cscstestmul'])) {
$id = $_POST['cscstestmul'];
$qty = $_POST['multiqty'];
$_SESSION['cscstestmul'] = $id;
$_SESSION['multiqty'] = $qty;
$_SESSION['multiqty'] = isset($_POST['multiqty']) && $_POST['multiqty'] > 0 && is_numeric($_POST['multiqty']) ? $_POST['multiqty'] : 1;
$add_item = add_to_cart_multiple($id, $_SESSION['multiqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['extralan'])) {
$id2 = $_POST['extralan'];
$qty2 = $_POST['languagetestqty'];
$_SESSION['extralan'] = $id2;
$_SESSION['languagetestqty'] = $qty2;
$_SESSION['languagetestqty'] = isset($_POST['languagetestqty']) && $_POST['languagetestqty'] > 0 && is_numeric($_POST['languagetestqty']) ? $_POST['languagetestqty'] : 1;
$add_item2 = add_to_cart_multiple($id2, $_SESSION['languagetestqty']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
if (!empty($_POST['otherqty'])) {
$id3 = $_POST['otherqty'];
$qty3 = $_POST['otherqtynum'];
$_SESSION['otherqty'] = $id3;
$_SESSION['otherqtynum'] = $qty3;
$_SESSION['otherqtynum'] = isset($_POST['otherqtynum']) && $_POST['otherqtynum'] > 0 && is_numeric($_POST['otherqtynum']) ? $_POST['otherqtynum'] : 0;
$add_item3 = add_to_cart_multiple($id3, $_SESSION['otherqtynum']);
$_SESSION['total_items'] = total_items($_SESSION['cart']);
$_SESSION['total_price'] = total_price($_SESSION['cart']);
}
header('Location: index.php');
}
ANY HELP
No comments posted yet
Your Answer:
Login to answer
276
9
Other forums
webpage with (simple) login & mysql-db
Hi all,
What I was looking for before was a multi-user password manager, web-based! The offer
GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.
I have a
problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mi
Generate PDF
Hi guys,
I would like to know if there is a way to generate pdf when clicking on a link. In f
PHP & Java
Hello,
can PHP code be used inside java code?
Code: <SCRIPT LANGUAGE="Java
Multi Level Array Problem
hi all,
For example I have array like below:
$temp = array(array('north america', 'us'
php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]
Time script, set to my time zone?
I am using this line to get the date and time
Code: $time = date(F." ".d.", &q
Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m
Oracle Connectivity
Hi Every One,
Can we access SAP from oracle database.If it possible then please spec