in reply to I was told to use DBI::selectrow_array... but it doesn't support placeholders
Disclaimer: I'm not sure if I've ever tried that particular method with placeholders, but I have run into the same issue on other dbh methods using placeholders (i.e. forgetting to put the undef in).
Also, FYI, you can still use prepared statements with those methods, as the first argument can be either a SQL string or a prepared statement handle.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I was told to use DBI::selectrow_array... but it doesn't support placeholders
by Ovid (Cardinal) on Mar 29, 2007 at 20:21 UTC | |
|
Re^2: I was told to use DBI::selectrow_array... but it doesn't support placeholders
by metaperl (Curate) on Mar 30, 2007 at 17:43 UTC |