APO-Epsilon/apo-website

View on GitHub
event_signup.php

Summary

Maintainability
F
3 days
Test Coverage

display accesses the super-global variable $_SESSION.
Open

function display($event_type) {
        include('mysql_access.php');
        $user_id = $_SESSION['sessionID'];

        echo "Displaying " . $event_type . " Events";
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

print_daily accesses the super-global variable $_SESSION.
Open

function print_daily($day) {

    include('mysql_access.php');

    $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

show_active accesses the super-global variable $_SESSION.
Open

function show_active() {
    $user_id = $_SESSION['sessionID'];
    include('mysql_access.php');

    if (isset($_GET['delete'])) {
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

show_active accesses the super-global variable $_GET.
Open

function show_active() {
    $user_id = $_SESSION['sessionID'];
    include('mysql_access.php');

    if (isset($_GET['delete'])) {
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

show_active accesses the super-global variable $_POST.
Open

function show_active() {
    $user_id = $_SESSION['sessionID'];
    include('mysql_access.php');

    if (isset($_GET['delete'])) {
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

show_active accesses the super-global variable $_POST.
Open

function show_active() {
    $user_id = $_SESSION['sessionID'];
    include('mysql_access.php');

    if (isset($_GET['delete'])) {
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

show_active accesses the super-global variable $_GET.
Open

function show_active() {
    $user_id = $_SESSION['sessionID'];
    include('mysql_access.php');

    if (isset($_GET['delete'])) {
Severity: Minor
Found in event_signup.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

Function display has a Cognitive Complexity of 49 (exceeds 5 allowed). Consider refactoring.
Open

function display($event_type) {
        include('mysql_access.php');
        $user_id = $_SESSION['sessionID'];

        echo "Displaying " . $event_type . " Events";
Severity: Minor
Found in event_signup.php - About 7 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Method display has 143 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function display($event_type) {
        include('mysql_access.php');
        $user_id = $_SESSION['sessionID'];

        echo "Displaying " . $event_type . " Events";
Severity: Major
Found in event_signup.php - About 5 hrs to fix

    Function print_daily has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring.
    Open

    function print_daily($day) {
    
        include('mysql_access.php');
    
        $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
    Severity: Minor
    Found in event_signup.php - About 4 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Method print_daily has 98 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function print_daily($day) {
    
        include('mysql_access.php');
    
        $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
    Severity: Major
    Found in event_signup.php - About 3 hrs to fix

      File event_signup.php has 310 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      require_once ('session.php');
      require_once ('mysql_access.php');
      ?>
      <!doctype html>
      Severity: Minor
      Found in event_signup.php - About 3 hrs to fix

        Method show_active has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function show_active() {
            $user_id = $_SESSION['sessionID'];
            include('mysql_access.php');
        
            if (isset($_GET['delete'])) {
        Severity: Minor
        Found in event_signup.php - About 1 hr to fix

          The function print_daily() has 117 lines of code. Current threshold is set to 100. Avoid really long methods.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          The function display() has 167 lines of code. Current threshold is set to 100. Avoid really long methods.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          The function print_daily() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CyclomaticComplexity

          Since: 0.1

          Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.

          Example

          // Cyclomatic Complexity = 11
          class Foo {
          1   public function example() {
          2       if ($a == $b) {
          3           if ($a1 == $b1) {
                          fiddle();
          4           } elseif ($a2 == $b2) {
                          fiddle();
                      } else {
                          fiddle();
                      }
          5       } elseif ($c == $d) {
          6           while ($c == $d) {
                          fiddle();
                      }
          7        } elseif ($e == $f) {
          8           for ($n = 0; $n < $h; $n++) {
                          fiddle();
                      }
                  } else {
                      switch ($z) {
          9               case 1:
                              fiddle();
                              break;
          10              case 2:
                              fiddle();
                              break;
          11              case 3:
                              fiddle();
                              break;
                          default:
                              fiddle();
                              break;
                      }
                  }
              }
          }

          Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity

          The function display() has a Cyclomatic Complexity of 28. The configured cyclomatic complexity threshold is 10.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CyclomaticComplexity

          Since: 0.1

          Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.

          Example

          // Cyclomatic Complexity = 11
          class Foo {
          1   public function example() {
          2       if ($a == $b) {
          3           if ($a1 == $b1) {
                          fiddle();
          4           } elseif ($a2 == $b2) {
                          fiddle();
                      } else {
                          fiddle();
                      }
          5       } elseif ($c == $d) {
          6           while ($c == $d) {
                          fiddle();
                      }
          7        } elseif ($e == $f) {
          8           for ($n = 0; $n < $h; $n++) {
                          fiddle();
                      }
                  } else {
                      switch ($z) {
          9               case 1:
                              fiddle();
                              break;
          10              case 2:
                              fiddle();
                              break;
          11              case 3:
                              fiddle();
                              break;
                          default:
                              fiddle();
                              break;
                      }
                  }
              }
          }

          Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                  $dsearch=$db->query("SELECT * FROM regular_service_details WHERE event_id=$id");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                                  $info=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$fid");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

            $delete = $db->query($sql) or exit("There was an error, contact Webmaster");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                  $lsearch=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$d_lead");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                              $fsearch=$db->query("SELECT user_id,drive,entry_id FROM events_signup WHERE event_id=$id AND Factor=$c AND week=$week_cd AND day='$day'");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                                  $already=$db->query("SELECT user_id FROM events_signup WHERE event_id=$id AND week=$week_cd AND day='$day' AND user_id=$uid");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                  $wresponse=$db->query("SELECT week_cd FROM week LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                                  $info=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$fid");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $yresponse=$db->query("SELECT firstname,lastname,email FROM contact_information WHERE id='$l_id'");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $response=$db->query("SELECT * FROM events_listing WHERE event_id = $event");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $response=$db->query("SELECT user_id FROM events_signup WHERE event_id = $event AND user_id = $user_id");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                              $vesponse=$db->query("SELECT firstname,lastname,email FROM contact_information WHERE position = 'Recording Secretary' LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $wresponse=$db->query("SELECT week_cd FROM week LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='$event_type' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          Avoid using undefined variables such as '$db' which will lead to PHP notices.
          Open

                      $response=$db->query("SELECT COUNT(user_id) FROM events_signup WHERE event_id = $event");
          Severity: Minor
          Found in event_signup.php by phpmd

          UndefinedVariable

          Since: 2.8.0

          Detects when a variable is used that has not been defined before.

          Example

          class Foo
          {
              private function bar()
              {
                  // $message is undefined
                  echo $message;
              }
          }

          Source https://phpmd.org/rules/cleancode.html#undefinedvariable

          The method print_daily uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                              {
                                  $already=$db->query("SELECT user_id FROM events_signup WHERE event_id=$id AND week=$week_cd AND day='$day' AND user_id=$uid");
                                  $a_sign=mysqli_fetch_array($already);
          
                                  if (isset($a_sign['user_id'])) 
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method print_daily uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                                  {
                                  $info=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$fid");
                                  $i=mysqli_fetch_array($info);
                                  $i_num = $i['phone'];
                                  $i_name = $i['firstname'] . " " . $i['lastname'];
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method print_daily uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                                  {
                                  $i_name = "open";
                                  $i_num = "";
                                  $i_drive = "";
                                  }
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method display uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                  {
          
                  if ($event_type != "All")
                  {
                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='$event_type' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method display uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                          {
                              $l_name = $yresult['firstname'] . " " . $yresult['lastname'];
                              $l_email = $yresult['email'];
                          }
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method display uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                  {
                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
                  }
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The method display uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                      {
                      
                          if ($result['event_type'] == 'Chapter')
                          {
                              //pull rec sec info
          Severity: Minor
          Found in event_signup.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          The function delete_event() contains an exit expression.
          Open

            $delete = $db->query($sql) or exit("There was an error, contact Webmaster");
          Severity: Minor
          Found in event_signup.php by phpmd

          ExitExpression

          Since: 0.2

          An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

          Example

          class Foo {
              public function bar($param)  {
                  if ($param === 42) {
                      exit(23);
                  }
              }
          }

          Source https://phpmd.org/rules/design.html#exitexpression

          Avoid unused local variables such as '$delete'.
          Open

            $delete = $db->query($sql) or exit("There was an error, contact Webmaster");
          Severity: Minor
          Found in event_signup.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Avoid unused local variables such as '$db'.
          Open

            $delete = $db->query($sql) or exit("There was an error, contact Webmaster");
          Severity: Minor
          Found in event_signup.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Avoid unused local variables such as '$page'.
          Open

              $page = null;
          Severity: Minor
          Found in event_signup.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Avoid unused local variables such as '$user_id'.
          Open

              $user_id = $_SESSION['sessionID'];
          Severity: Minor
          Found in event_signup.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 28 and the first side effect is on line 2.
          Open

          <?php
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          The parameter $event_type is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseParameterName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name parameters.

          Example

          class ClassName {
              public function doSomething($user_name) {
              }
          }

          Source

          Avoid variables with short names like $i. Configured minimum length is 3.
          Open

                                  $i=mysqli_fetch_array($info);
          Severity: Minor
          Found in event_signup.php by phpmd

          ShortVariable

          Since: 0.2

          Detects when a field, local, or parameter has a very short name.

          Example

          class Something {
              private $q = 15; // VIOLATION - Field
              public static function main( array $as ) { // VIOLATION - Formal
                  $r = 20 + $this->q; // VIOLATION - Local
                  for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                      $r += $this->q;
                  }
              }
          }

          Source https://phpmd.org/rules/naming.html#shortvariable

          Avoid variables with short names like $id. Configured minimum length is 3.
          Open

                  $id = $general['event_id'];
          Severity: Minor
          Found in event_signup.php by phpmd

          ShortVariable

          Since: 0.2

          Detects when a field, local, or parameter has a very short name.

          Example

          class Something {
              private $q = 15; // VIOLATION - Field
              public static function main( array $as ) { // VIOLATION - Formal
                  $r = 20 + $this->q; // VIOLATION - Local
                  for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                      $r += $this->q;
                  }
              }
          }

          Source https://phpmd.org/rules/naming.html#shortvariable

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $factor=mysqli_fetch_array($fsearch);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          TRUE, FALSE and NULL must be lowercase; expected "false" but found "False"
          Open

          $exec_page = False;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $d_desc = $general['event_description'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i=mysqli_fetch_array($info);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_num = $i['phone'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $l_num = $leader_d['phone'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $info=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$fid");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $name = $general['event_name'];    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  //allow delete
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_name = $i['firstname'] . " " . $i['lastname'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $d_time = $daily['time'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_num = "<sup><a href='event_signup.php?delete=$entr_id'>Delete?</a></sup>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              echo "<tr><td>$c. $i_name</td><td>$i_num</td><td>$i_drive</td></tr>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  if ($event_type == "Regular")
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 8:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "3/5/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Sunday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      else if ($result['closed'] == 1)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          <input type="hidden" name="user" value="<?php echo htmlspecialchars($user_id); ?>">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              $user_id = $_SESSION['sessionID'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  delete_event($entr_id);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  <select name='type_set' onchange="this.form.submit()">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 0 spaces before closing bracket; 1 found
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      switch($week_cd) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //get general details
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Monday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('monday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $response=$db->query("SELECT user_id FROM events_signup WHERE event_id = $event AND user_id = $user_id");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //check if already signed up
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <!--<option value='Regular'>Regular Service</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          TRUE, FALSE and NULL must be lowercase; expected "true" but found "True"
          Open

          $active_page = True;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //print details
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $name = $general['event_name'];    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  if ($uid == $fid)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Blank line found at end of control structure
          Open

          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $wresponse=$db->query("SELECT week_cd FROM week LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 3:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 9:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 10:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "4/9/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "4/23/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('friday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $yresponse=$db->query("SELECT firstname,lastname,email FROM contact_information WHERE id='$l_id'");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      if (($result['event_cap'] <= $count) && ($count != 0))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      </table>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <?php
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  </form>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $cap = $general['event_cap'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Space found before closing bracket of FOR loop
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $info=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$fid");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "3/19/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('sunday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Wednesday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $event = $result['event_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $response=$db->query("SELECT * FROM events_listing WHERE event_id = $event");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $response=$db->query("SELECT COUNT(user_id) FROM events_signup WHERE event_id = $event");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  else    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $eid = $id;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 17:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('saturday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $signed=mysqli_fetch_array($response);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              $event_type = "none";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              if(isset($_POST['type_set']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_drive = $factor['drive'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $already=$db->query("SELECT user_id FROM events_signup WHERE event_id=$id AND week=$week_cd AND day='$day' AND user_id=$uid");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  if ($show)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_name= '
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "1/22/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "2/12/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 12:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 11:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 18:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  while($result=mysqli_fetch_array($xresponse)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //create a table entry
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Thursday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              //pull rec sec info
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $l_name = $vesult['firstname'] . " " . $vesult['lastname'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $l_name = $yresult['firstname'] . " " . $yresult['lastname'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <tr><td><input type="submit" name="submit" value="signup"/></td><th><?= $result['event_type'] ?> Event : <?= $result['event_name'] ?></th> <td colspan="3">Leader : <?= $l_name ?> </td></tr>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      </form>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  <form name="myform" action="" method="post">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='All'>All</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  display($event_type);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "1/29/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 5:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 7:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $xresponse=$db->query("SELECT * FROM events_listing WHERE event_type='$event_type' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $l_id = $result['event_leader_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $result=mysqli_fetch_array($response);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Blank line found at start of control structure
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $vesponse=$db->query("SELECT firstname,lastname,email FROM contact_information WHERE position = 'Recording Secretary' LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  $entr_id = $_GET['delete'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  </select>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  <?php
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $l_name = $leader_d['firstname'] . " " . $leader_d['lastname'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Space found after opening bracket of FOR loop
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $fid = $factor['user_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  else    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $a_sign=mysqli_fetch_array($already);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_drive = "";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 4:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "4/16/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      ?>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <?php
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Tuesday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('thursday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $count = $signed['COUNT(user_id)'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              $page = null;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='Large Service'>Large Service</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_drive = $factor['drive'];                            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                      $show = false; 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "2/19/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "3/26/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //go through capacity
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 14:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Friday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $entr_id = $factor['entry_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Blank line found at start of control structure
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  { 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <form method="post" action="event_signup_done.php">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "4/2/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='Taskforce'>Taskforce</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 16:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  if (isset($a_sign['user_id'])) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "4/30/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $l_email = $vesult['email'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "2/26/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              echo "<a href='check_requirements.php'>Check your requirements here.</a>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 13:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='null' selected>-- select event type --</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('wednesday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  if ($event_type != "All")
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $already=mysqli_fetch_array($response);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      else if (($already['user_id'] == $user_id) && ($result['repeatable'] == 0))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //check if closed
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      ?>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='Chapter'>Chapter / Point</option>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              if(isset($factor['user_id']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $ename = $general['event_name'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_name = "open";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "1/15/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 6:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <h2>Week of <?php echo $week ?><h2>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      print_daily('tuesday');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      echo "<h3>Saturday</h3>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $vesult=mysqli_fetch_array($vesponse);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <tr><td><?= $result['event_time'] ?></td><td><?= $result['event_description'] ?></td><td>Email:</td><td colspan="2"><?= $l_email ?></td></tr>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              //sets event info section from selection
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              echo "<h1>Event Signups</h1>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              //print info for this event, factor c
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_drive = $factor['drive'];                            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_name = $i['firstname'] . " " . $i['lastname'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 1:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 2:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "2/5/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Blank line found at end of control structure
          Open

          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $yresult=mysqli_fetch_array($yresponse);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $l_email = $yresult['email'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          <input type="hidden" name="event_id" value="<?php echo htmlspecialchars($result['event_id']); ?>">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <table>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  $event_type = $_POST['type_set'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <option value='Other'>Other</option> !-->
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          TRUE, FALSE and NULL must be lowercase; expected "false" but found "False"
          Open

          $public_page = False;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i=mysqli_fetch_array($info);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_drive = "<input type='text' name='drive' value='no'></form>";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $show = false;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_num = "";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  include('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          case 15:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              include('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  ?>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $S_val = $general['S_val'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $fsearch=$db->query("SELECT user_id,drive,entry_id FROM events_signup WHERE event_id=$id AND Factor=$c AND week=$week_cd AND day='$day'");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  $i_num = "";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Function closing brace must go on the next line following the body; found 1 blank lines before brace
          Open

          }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                  $user_id = $_SESSION['sessionID'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $wres=mysqli_fetch_array($wresponse);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      $week_cd = $wres['week_cd'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "3/12/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              break;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "5/7/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                              $week = "5/14/2017";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      <div id='day'>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Blank line found at start of control structure
          Open

                  {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      //check if full
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          if ($result['event_type'] == 'Chapter')
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

                          <input type="hidden" name="event_name" value="<?php echo htmlspecialchars($result['event_name']); ?>">
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used for alignment; tabs are not allowed
          Open

              {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

              include('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

              {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $wres=mysqli_fetch_array($wresponse);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $show = true;
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $cancel = $daily['cancel'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

              while($general=mysqli_fetch_array($gen)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $wresponse=$db->query("SELECT week_cd FROM week LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $close = $daily['closed'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line exceeds 120 characters; contains 153 characters
          Open

                      <tr><td><?= $result['event_time'] ?></td><td><?= $result['event_description'] ?></td><td>Email:</td><td colspan="2"><?= $l_email ?></td></tr>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line exceeds 120 characters; contains 148 characters
          Open

                              $vesponse=$db->query("SELECT firstname,lastname,email FROM contact_information WHERE position = 'Recording Secretary' LIMIT 1");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          End of line character is invalid; expected "\n" but found "\r\n"
          Open

          <?php
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $week_cd = $wres['week_cd'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

              
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $id = $general['event_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $leader_d=mysqli_fetch_array($lsearch);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $d_lead = $general['event_leader_id'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $daily=mysqli_fetch_array($dsearch);
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $uid = $_SESSION['sessionID'];
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line exceeds 120 characters; contains 158 characters
          Open

                              $fsearch=$db->query("SELECT user_id,drive,entry_id FROM events_signup WHERE event_id=$id AND Factor=$c AND week=$week_cd AND day='$day'");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $dsearch=$db->query("SELECT * FROM regular_service_details WHERE event_id=$id");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  {            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line exceeds 120 characters; contains 150 characters
          Open

                                  $already=$db->query("SELECT user_id FROM events_signup WHERE event_id=$id AND week=$week_cd AND day='$day' AND user_id=$uid");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  $lsearch=$db->query("SELECT firstname,lastname,phone FROM contact_information WHERE id=$d_lead");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Spaces must be used to indent lines; tabs are not allowed
          Open

                  if (($daily[$day] == 1) && (!$cancel) && (!$close)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line exceeds 120 characters; contains 201 characters
          Open

                      <tr><td><input type="submit" name="submit" value="signup"/></td><th><?= $result['event_type'] ?> Event : <?= $result['event_name'] ?></th> <td colspan="3">Leader : <?= $l_name ?> </td></tr>
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Space before opening parenthesis of function call prohibited
          Open

          require_once ('session.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 0 spaces after opening bracket; 1 found
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after WHILE keyword; 0 found
          Open

              while($general=mysqli_fetch_array($gen)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Space before opening parenthesis of function call prohibited
          Open

            include ('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

              while($general=mysqli_fetch_array($gen)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Space before opening parenthesis of function call prohibited
          Open

          require_once ('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected at least 4 spaces, found 2
          Open

            $delete = $db->query($sql) or exit("There was an error, contact Webmaster");
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Opening brace should be on a new line
          Open

          function delete_event($entry) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected at least 12 spaces, found 0
          Open

          echo <<<END
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after IF keyword; 0 found
          Open

                              if(isset($factor['user_id']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  else    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 11
          Open

                  if (($daily[$day] == 1) && (!$cancel) && (!$close)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                      {    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                                  $i_drive = $factor['drive'];                            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                                  { 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 4 spaces, found 8
          Open

                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Usage of ELSE IF is discouraged; use ELSEIF instead
          Open

                      else if (($already['user_id'] == $user_id) && ($result['repeatable'] == 0))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected at least 4 spaces, found 2
          Open

            include ('mysql_access.php');
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 7
          Open

              while($general=mysqli_fetch_array($gen)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  if ($uid == $fid)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 16 spaces, found 20
          Open

                              else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 6:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 18:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                          }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 16 spaces, found 20
          Open

                              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                              else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 8 spaces, found 12
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                      else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 4 spaces, found 8
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                                  else    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 26
          Open

                                  if ($show)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 8:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 14:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 6
          Open

              if(isset($_POST['type_set']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Opening brace should be on a new line
          Open

          function print_daily($day) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 14
          Open

                      for ( $c=1; $c<=$cap; $c++ )
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 15:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 16:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 22
          Open

                              if(isset($factor['user_id']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 27
          Open

                                  if (isset($a_sign['user_id'])) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 2:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 8 spaces, found 12
          Open

                      switch($week_cd) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 10
          Open

                  if ($event_type != "All")
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 11
          Open

                  while($result=mysqli_fetch_array($xresponse)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                          else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  if (isset($a_sign['user_id'])) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 10:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 4 spaces, found 8
          Open

                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                  {            
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                                  if (isset($a_sign['user_id'])) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected at least 12 spaces, found 0
          Open

          echo <<<END
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                      $name = $general['event_name'];    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 4:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 16 spaces, found 20
          Open

                              if(isset($factor['user_id']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 14
          Open

                      else if ($result['closed'] == 1)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                                  else    
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                                      $show = false; 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 16 spaces, found 20
          Open

                              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 14
          Open

                      else if (($already['user_id'] == $user_id) && ($result['repeatable'] == 0))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Opening brace should be on a new line
          Open

          function display($event_type) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Usage of ELSE IF is discouraged; use ELSEIF instead
          Open

                      else if ($result['closed'] == 1)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 4 spaces, found 8
          Open

                  if ($event_type == "Regular")
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 18
          Open

                          if ($result['event_type'] == 'Chapter')
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after WHILE keyword; 0 found
          Open

                  while($result=mysqli_fetch_array($xresponse)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 14
          Open

                      if (($result['event_cap'] <= $count) && ($count != 0))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected at least 4 spaces, found 2
          Open

            $sql = "DELETE FROM `events_signup` WHERE `entry_id` = '$entry' LIMIT 1";
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                  if (($daily[$day] == 1) && (!$cancel) && (!$close)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 26
          Open

                                  if ($uid == $fid)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                              }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 1:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 5:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Opening brace should be on a new line
          Open

          function show_active() {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after IF keyword; 0 found
          Open

              if(isset($_POST['type_set']))
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 13:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after ELSE keyword; newline found
          Open

                  else
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  if ($show)
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after SWITCH keyword; 0 found
          Open

                      switch($week_cd) {
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 3:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 7:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 11:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 17:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Whitespace found at end of line
          Open

                  while($result=mysqli_fetch_array($xresponse)) 
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 20 spaces, found 24
          Open

                                  }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing parenthesis; found 10
          Open

                  if ($event_type == "Regular")
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 9:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Line indented incorrectly; expected 12 spaces, found 16
          Open

                          case 12:
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          Expected 1 space after closing brace; newline found
          Open

                      }
          Severity: Minor
          Found in event_signup.php by phpcodesniffer

          The variable $i_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_drive is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $user_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $entr_id is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_time is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_drive is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $leader_d is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $entr_id is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $leader_d is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_time is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $a_sign is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_drive is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $leader_d is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_lead is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $leader_d is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $S_val is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_desc is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $S_val is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_desc is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_drive is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_name is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_drive is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $d_lead is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $a_sign is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $i_num is not named in camelCase.
          Open

          function print_daily($day) {
          
              include('mysql_access.php');
          
              $gen=$db->query("SELECT * FROM events_listing WHERE event_type='Regular' ORDER BY event_name");
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $week_cd is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $entr_id is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $user_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_email is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $user_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $user_id is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_name is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_name is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_email is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_email is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $entr_id is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $l_name is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $user_id is not named in camelCase.
          Open

          function display($event_type) {
                  include('mysql_access.php');
                  $user_id = $_SESSION['sessionID'];
          
                  echo "Displaying " . $event_type . " Events";
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          The variable $event_type is not named in camelCase.
          Open

          function show_active() {
              $user_id = $_SESSION['sessionID'];
              include('mysql_access.php');
          
              if (isset($_GET['delete'])) {
          Severity: Minor
          Found in event_signup.php by phpmd

          CamelCaseVariableName

          Since: 0.2

          It is considered best practice to use the camelCase notation to name variables.

          Example

          class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

          Source

          There are no issues that match your filters.

          Category
          Status