How to use $_GET["search"]?

How to use $_GET["search"]?

grilogrilo Posts: 3Questions: 2Answers: 0

I'm using the search option, but I want some links like www.mywebsite.com/?search=var1 , but I have no idea where should I put those vars, like:

if($_GET["search"]!=NULL) echo $_GET["search"];

Is it possible? Can someone try to help me?

Thank you :)

This discussion has been closed.