- 1
- 2
- 3
- 4
$answer=~ s/\\/\\\\/g;
$answer=~ s/\'/\\\'/g;
# ...
$dbh->do("INSERT INTO docflow_rules (type_,state1,state2,p,entity,subj_require,comm_require) VALUES ($doctype,$from_,$to_,'$answer',$entity,$subj_r,$comm_r)");
Lure Of Chaos 12.01.2011 15:08 # 0
Мистер Хэнки 13.01.2011 07:47 # +2