decimal
Can somebody please tell me what is happening here. I am posting a price from a form then putting it into a session.
$_SESSION['item_total'] = $_POST['item_total'];
echo $_POST['item_total'] . "--posted total<br>";
echo $_SESSION['item_total'] . "--session total<br>";
when i write it out this is the result what is happening to the .97
9.97--posted total
9--session total
Thanks in advance
mike
__________________
Peace
Mike
http://www.eclecticpixel.com
|