in reply to Don't understand row
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Don't understand row
by Anonymous Monk on Feb 14, 2005 at 05:06 UTC | |
by Zaxo (Archbishop) on Feb 14, 2005 at 05:15 UTC |