I want check 4 varialbes, which have a value or not.
like
var1 = test1, var2 = test2..

So I wrote this;

if (isset($_GET['var1'] , $_GET['var2'] , _GET['$var3'] , $_GET['var4'])) {
...
}

But this shows error message:

Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in /var/www/html/index.php on line 20

How can I solve this problem?

    Looks like you left out the "$" on the 3rd $_GET.

      NogDog,

      Thanks a lot for your kind anwser.

      You saved me!

      NogDog;10894461 wrote:

      Looks like you left out the "$" on the 3rd $_GET.

        Write a Reply...