basic php sql injection prevention function code example
Example: sql injection attack prevention in php
SELECT UserId, Name, Password
FROM Users WHERE UserId = 105 or 1=1;
SELECT UserId, Name, Password
FROM Users WHERE UserId = 105 or 1=1;