in reply to $data{"str$i"} not valid in mysql select?
Since you don't say what the source of the data happens to be, I can only assume that it is coming from a potentially untrusted source. Since that is the baseline assumption, do not interpolate -- use placeholders. See http://bobby-tables.com.
--MidLifeXis
|
|---|