Welcome Guest, Not a member yet? Register   Sign In
Quote in form validation
#1

[eluser]promo[/eluser]
Hello everybody


I need some help with CI Validation rules.... with simple and double quotes.


I want to convert " & ' in html entities when the values are submitted in database.


I tested differents way but when my data is converted and when I'm trying to submit the same string, the returned value is like #039; in my input tag.


Someone has a solution ?
Thanks

Note : I used set_value() on input type="text", I removed all htmlspecialchar in set_rules and data array input...


Messages In This Thread
Quote in form validation - by El Forum - 07-11-2013, 08:51 AM
Quote in form validation - by El Forum - 07-11-2013, 03:35 PM
Quote in form validation - by El Forum - 07-11-2013, 04:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB