[eluser]aidehua[/eluser]
Thanks sinokada.
[Yes, sorry, when I said "source" I meant the HTML source (View...Source) rather than the rendered browser view, if you know what I mean.]
Not sure where the problem lies then.
You said you're getting the error when you run
Code:
$totalprice = $_SESSION['totalprice'];
And yet you don't get the error on running:
Code:
print_r ($_SESSION['totalprice']
And if you just
Code:
echo $_SESSION['shipping'];
?
And how about
Code:
$shipping = $_SESSION['shipping'];
Does that work OK?