Great, that works.
The only thing is, if i persist in clicking the add to cart without selecting anything, the querystring builds up, am i doing it right ?
eg
results.php?failed=true
can become
results.php?failed=true&failed=true&failed=true&failed=true