Results 1 to 10 of 42

Thread: Day 4 - Decision Making - Become PHP Expert in 30 days

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    http://php.flashwebhost.com/sherly/abc.php

    Code:
    Parse error:  syntax error, unexpected '{' in /home/fwhphp/public_html/sherly/abc.php on line 5
    Code:
    <?php
    
    if ($a > $b) {
        echo 'a is bigger than b';
    }  esle  if ($a == $b)  {
       echo 'a is equal to b';
    }  else  ($a < $b) {
       echo 'a is smaller than b';
    }
    Last edited by sherlyk; 05-13-2014 at 07:04 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •