-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,570
  • 9
  • 45
  • 63
ahmelq
  • 593
  • 7
  • 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,256
  • 10
  • 26