What's wrong? PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in
<p>Me and my mate we're trying to solve this for over 1.5 hours, we are still getting the same and tried almost everything we could.</p>

<p>Could anyone help us do that?</p>

<p>This is error what we're getting:</p>

<pre>PHP Parse error: syntax error, unexpected '}', expecting ',' or ';' in</pre>

<p>And this is the code (line) it's happening on:</p>

<p><code>if(!isset($_POST['name'])) {echo"Please fill in a valid username"} else {$ok="$ok+1"}</code></p>

<p>It's PHP.</p>

<p>If anyone wants the full code here it is:</p>

<pre>$ok=0;
if(isset($_POST['submit'])) {
if(!isset($_POST['name'])) {echo"Please fill in a valid username"} else {$ok="$ok+1"}
if(!isset($_POST['pass'])) {echo"Please fill in a valid password"} else {$ok="$ok+1"}

if($ok==2){
switch($_POST['name'],$_POST['pass']){
    case "FORAEROND","FORAEROND2":


    THIS IS THE TEXT THAT WILL SHOW IF USERNAME IS 'FORAEROND' AND PASSWROD IS 'FORAEROND2'


    break;



    /*case "FORAEROND5","FORAEROND6";        KEEP FOR LATER

    THIS IS THE TEXT THAT WILL SHOW IF USERNAME IS 'FORAEROND5' AND PASSWROD IS 'FORAEROND6'


    break;
    */

    }
  }
}</pre>

<p>Thanks to everyone who will help. :)</p>

<p>EDIT:</p>

<p>We apologize to everyone, it was really stupid, somehow we deleted or forgot ';' behind the codes, this is really stupid and awkward.</p>