-1

as you can see I have an error in my site:

enter image description here

and I alrady put the @:

$q = @$_GET['q'];
Spontifixus
  • 6,360
  • 9
  • 42
  • 61
ahmelq
  • 350
  • 4
  • 11

1 Answers1

0

If $q is used in a SQL query you need to handle it properly.

But to display in-page with echo or equivalent use htmlentities($q)1 for that part.

NiKiZe
  • 1,092
  • 10
  • 24