2010年9月15日星期三

[fw-mvc] best way to remove slashes

hi

i see zend_db or zend_request put slashes around form values before inserting them to DB

but if i use some basic html tags like <a> or <img>  when selecting text by query from the DB that slashes makes view problem.

what is the best solution for this?

is stripslashes() works?

--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin

没有评论: