For example, a complex SQL like
select * from table_a
inner join table_b on table_a.id = table_b.id
inner join table_c on table_b.id = table_c.id
where table_c.id = $var
group by table_a.id
how to avoid sql injection?
For example, a complex SQL like
select * from table_a
inner join table_b on table_a.id = table_b.id
inner join table_c on table_b.id = table_c.id
where table_c.id = $var
group by table_a.id
how to avoid sql injection?