And you should use the RaiseError => 1 option during DBI->connect, because you seem to ignore errors from DBI, which makes debugging harder.
You need to prepare the statement only once, but probably ->execute for each cookie value - though it's hard to understand what you actually want to achieve, because you only show non-working code, and don't verbally describe what you want to achieve in the end.
In reply to Re: Database Output
by moritz
in thread Database Output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |