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 Like 9 Dislike
Previous forums Next forums
Other forums

Delete Client 066 Earlywatch
Hi all,

in former times client earlywatch was required for SAPs remote access to SAP inst

Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work.

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

SESSION question
I am building an application , a directory for auctions.
For SEO i made a script which copies a p

newbie error
what is wrong with this code ?

<html>
<body>

<?

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash