in reply to Re: How's My Style Now?
in thread How's My Style Now?
I usually do use placeholders. However, in this case one of the three possible SQL statements has no value required. How would deal with that? For the other two I can create a variable (e.g., $particular) and set it in block of the elsif and the else, to be used like so, $sth->execute($particular);. However, for the if statement, won't I get an error even if $particular is set to blank?
-Spenser
That's Spenser, with an "s" like the detective.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How's My Style Now?
by chb (Deacon) on Feb 08, 2010 at 13:49 UTC |