Am developing my first website and i would consider on security. i Have a query and am using PDO. My Db is MySQL. i want to check if my code is possible for injection.
i hope there are helpful guys out there. thanks
>$sql = "SELECT * FROM boardbasis WHERE prop_id = ?";
>$BoardBasis_stmt = $dbh->prepare($sql);
>$BoardBasis_stmt->execute(array($_GET['prop_id']));
>$BoardBasis = $BoardBasis_stmt->fetch(PDO::FETCH_ASSOC);