Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 13
Joined: Tue Aug 21, 2012 4:25 pm

Tue Oct 29, 2013 4:48 am

I would like to ask for something
here is my table

ID Name Brand
1 a Toyota
2 b Honda
3 c Toyota
4 d Honda
5 e Nissan

when I save the record, I use mysql_real_escape_string() on ID and Brand because I will only retrieve data with ID and Brand.

the question is what will be happen if I don't use mysql_real_escape_string() on Name? I mean security. pls tell me guys

Post Reply