Welcome Guest, Not a member yet? Register   Sign In
html special characters & mysql
#5

[eluser]kenjis[/eluser]
[quote author="NikosV" date="1268375182"][quote author="Kenji @ CodeIgniter Users Group in Japan" date="1268373595"]You stored "& #40;" in database? It's a bad practice.
It's better to store "(" in database.[/quote]

but that's exactly my problem, when i store "(" my function doesn't get any results because the query is searching for "& #40;". How can i solve that?[/quote]

How about chaning the query from searching "& #40;" to searching "(" ?


Messages In This Thread
html special characters & mysql - by El Forum - 03-11-2010, 05:39 PM
html special characters & mysql - by El Forum - 03-11-2010, 05:41 PM
html special characters & mysql - by El Forum - 03-11-2010, 05:59 PM
html special characters & mysql - by El Forum - 03-11-2010, 06:26 PM
html special characters & mysql - by El Forum - 03-11-2010, 09:20 PM
html special characters & mysql - by El Forum - 03-12-2010, 03:03 AM
html special characters & mysql - by El Forum - 03-12-2010, 05:55 AM
html special characters & mysql - by El Forum - 03-12-2010, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB