Hot answers tagged php
1
There's nothing wrong with your code. I've tested this (without using $_POST) and it works a treat.
I believe all you need to do is verify the $_POST variables are populated as you expect them to be later in the code.
One other tip: watch out for
$images = ( $mug->APIVer == "1.2.2" ) ? $images['Images'] : $images;
This will apply for 1.2.2 and 1.3.0 ...
Only top voted, non community-wiki answers of a minimum length are eligible