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
Does design fit in FPGA ?
Hi all,
I've made a large HCC-Design. Because of the program-size the compile process with th
I face problems to extract data from one table and insert it in another one
Hi,
For modifications, I have to extract data from one table and insert it in another one
path to include folder
Hi everyone,
When I'm testing locally, I have to add the name of the site folder as part of t
Output Full URL of Current Page
Let's say I am currently viewing a dynamic page:
http://www.mydomain.com/directory/index.php
Update not working ... please help
Hi,
I am trying to update a row using an edit form by passing id of the row .. but it is not
an interesting question
Greetings folks, got to ask an interesting question...
let say
i have created a function s
Undefined Variable: PHP_SELF, pls help
Hi,
Im a newbie on PHP / MySQL programming and Im running a script to search one field on my
Login script (probably a simple error)
dbConfig.php
Code: <?
// Replace the variable values below
// with your specific dat
Creating a function
Basically i wanna put all this code in a seperate file
Code: <?php
Auto fill in input value based on User_ID
Hello,
I'm looking form some input on the following problem.
User loads page ->