Welcome Guest, Not a member yet? Register   Sign In
How to avoid errors in view when I am using variable for the php session
#9

[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?


Messages In This Thread
How to avoid errors in view when I am using variable for the php session - by El Forum - 01-10-2010, 07:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB