Jump to content

[SOLVED] Parse error


madspof

Recommended Posts

I am having a parse error on the if statment line can anyone see why ?

 

  if ((!$gamertag) || (!$name) || (!$pass) || (!$email)) {
      echo "You didn't submit the following required information:<br><br>";

      if(!$gamertag) {
          echo "Please enter a username<br>";
          }
      if (!$name) {
          echo "Please enter a password<br>";
      }
      if (!$pass) {
          echo "Please enter a name<br>";
      }
      if (!$email) {
          echo "Please enter a address<br>";
      }
      
      exit(); 
  }

Link to comment
https://forums.phpfreaks.com/topic/71279-solved-parse-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.