i have bumped into somthing else that causes a bug in my application.
i have a form which user a $_POST['cart']
for testing purposes when i print $_POST via print_r()
this is the output:
printing _POST
Array ( [cart] => Array ( [Men's Roller Blades] => 0 [Women's Roller Blades] => 0 [Helmet] => 0 [Knee Pads] => 0 [Knee and Elbow Pads] => 0 ) )
however once i click on the submit button which takes me to another page (my_cart.php)
when i print $_POST array i get the following:
printing _POST
Array ( [Men] => 0 [Women] => 0 [Helmet] => 0 [Knee_Pads] => 0 [Knee_and_Elbow_Pads] => 0 )
obviously it messes everything up. please help.
thank you! 🙂