Hello guys!
I heard that mysql_tquery is better than mysql_query. I am trying to create a car system, but i am not sure how to use corectly mysql.
I am using now this format:
Code:
mysql_query(1, "SELECT * FROM `carsconfig` WHERE `set` = 1",true);
cache_get_data(rows, fields, 1);
if(rows)
{
cache_get_row(0, 3, csavingstring, 1); PCID = strval(csavingstring);
}
form
Can anyone show me how it should look when i am using mysql_tquery?
Can you explain me what is SQL injection and how can I prevent it?
P.S I have BlueG's plugin, version r39-2.