Is $sth2 supposed to be spelled $sth? If not, you need to show some different code.
In general, you should be using placeholders instead of interpolating values into the SQL text. You are certain to run into quoting difficulties without them. That could be another source of trouble for you.
The rows method of a statement handle is not really meant to be used with select. Expect odd results.
After Compline,
Zaxo
In reply to Re: Don't understand row
by Zaxo
in thread Don't understand row
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |