in reply to confused about reading from database using an array
just make sure you use the $dbh->quote method to construct the quoted values.SELECT id, order_num, state FROM orders WHERE names IN ("name1","name2 +","name3")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: confused about reading from database using an array
by Anonymous Monk on Dec 12, 2006 at 20:49 UTC | |
by Joost (Canon) on Dec 12, 2006 at 20:54 UTC |