Good day
I wanted to try to add to the mysql table:
// работает $param = "abc"; $result = mysql_query("INSERT INTO `table` (`field`) VALUES ('".$param."')"); // не работает $param = "`field`='05'"; $result = mysql_query("INSERT INTO `table` (`field`) VALUES ('".$param."')");
Began to google, this thing is called sql injection, and it is shown how to protect against it. This is not exactly what I am looking for. The hunt is to add to the necessary database (and then consider it). Tell me how to be?