Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ご覧のとおり、サイトにエラーがあります。
そして、私はすでに@を入れています:
$q = @$_GET['q'];
を SQL クエリで使用する場合$qは、適切に処理する必要があります。
$q
ただし、ページ内に表示するには、その部分に1echoを使用します。htmlentities($q)
echo
htmlentities($q)