show_active accesses the super-global variable $_POST. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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
Method show_active
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
Function show_active
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
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
The function show_active() has 108 lines of code. Current threshold is set to 100. Avoid really long methods. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Exclude checks
The function show_active() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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
$response=$db->query("SELECT event_name,event_type FROM events_listing");
- Read upRead up
- Exclude checks
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
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
- Read upRead up
- Exclude checks
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
$result = $db->query($SQL) or die("Failed to submit.");
- Read upRead up
- Exclude checks
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
$result = $db->query($SQL) or die("<a href='create_event.php'>Create an Event</a>");
- Read upRead up
- Exclude checks
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 assigning values to variables in if clauses and the like (line '83', column '7'). Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
IfStatementAssignment
Since: 2.7.0
Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.
Example
class Foo
{
public function bar($flag)
{
if ($foo = 'bar') { // possible typo
// ...
}
if ($baz = 0) { // always false
// ...
}
}
}
Source http://phpmd.org/rules/cleancode.html#ifstatementassignment
The method show_active uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
else{
echo "Only exec can create events.";
}
- Read upRead up
- Exclude checks
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 show_active() contains an exit expression. Open
$result = $db->query($SQL) or die("<a href='create_event.php'>Create an Event</a>");
- Read upRead up
- Exclude checks
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
The function show_active() contains an exit expression. Open
$result = $db->query($SQL) or die("Failed to submit.");
- Read upRead up
- Exclude checks
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
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 27 and the first side effect is on line 2. Open
<?php
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "False" Open
$exec_page = False;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$status = $aresult['status'];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_time = htmlspecialchars($_POST['event_time']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_leader_id = htmlspecialchars($_POST['event_leader_id']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = $SQL . $repeatable . "," . $required . ")";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Event Time: " . $e_time . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
//add their regular details to the database
- Exclude checks
Blank line found at end of control structure Open
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<table>";
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "False" Open
$public_page = False;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_description = htmlspecialchars($_POST['event_description']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$repeatable = 1;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = $SQL . " VALUES ('";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
//more work for regular service events!
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$thursday = htmlspecialchars($_POST['thursday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
if (isset($_POST['youth']))
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "tu: " . $tuesday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<td>" . $result['event_name'] . "</td>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
if (isset($_POST['required']))
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = $SQL . $event_place . "','" . $event_description . "'," . $event_cap . "," . $event_leader_id . ",";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$e_time = htmlspecialchars($_POST['time']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$monday = htmlspecialchars($_POST['monday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "su: " . $sunday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$count++;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Leadership: " . $L_val . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Capacity: " . $event_cap . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$youth = 1;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
if (isset($_POST['repeatable']))
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
//check input
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$friday = htmlspecialchars($_POST['friday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = "INSERT INTO regular_service_details (event_id,time,sunday,monday,tuesday,wednesday,thursday,friday,saturday,service_type,youth) VALUES ($event_id,'$e_time',$sunday,$monday,$tuesday,$wednesday,$thursday,$friday,$saturday,'$service_type',$youth) ";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = $SQL . $event_type . "'," . $event_id . ",'" . $event_name . "'," . $L_val . "," . $F_val . "," . $S_val . ",'" . $event_time . "','";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$response=$db->query("SELECT event_name,event_type FROM events_listing");
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<tr><td>#</td><td>Name</td><td>Type</td></tr>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$tuesday = htmlspecialchars($_POST['tuesday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "True" Open
$active_page = True;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_id = htmlspecialchars($_POST['event_id']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$required = 1;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Event Type: " . $event_type . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Description: " . $event_description . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_name = htmlspecialchars($_POST['event_name']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
//add the event to the database
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$S_val = htmlspecialchars($_POST['S_val']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$required = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
if ($event_type = "Regular")
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$wednesday = htmlspecialchars($_POST['wednesday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "mo: " . $monday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Repeatable: " . $repeatable . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$saturday = htmlspecialchars($_POST['saturday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$youth = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_place = htmlspecialchars($_POST['event_place']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$repeatable = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Friendship: " . $F_val . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Place: " . $event_place . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
//display all events in a table
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
while($result=mysqli_fetch_array($response))
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_cap = htmlspecialchars($_POST['event_cap']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = $SQL . "(event_type,event_id,event_name,L_val,F_val,S_val,event_time,event_place,event_description,event_cap,event_leader_id,repeatable,required)";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Required: " . $required . '<br><br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<td>" . $result['event_type'] . "</td></tr>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Only exec can create events.";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
if (isset($_POST['submit']) && isset($_POST['event_name']))
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$event_type = htmlspecialchars($_POST['event_type']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$F_val = htmlspecialchars($_POST['F_val']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$result = $db->query($SQL) or die("<a href='create_event.php'>Create an Event</a>");
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Event Name: " . $event_name . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Event ID: " . $event_id . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$sunday = htmlspecialchars($_POST['sunday']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$service_type = htmlspecialchars($_POST['service_type']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "we: " . $wednesday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "th: " . $thursday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "fr: " . $friday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<br><p><a href='create_event.php'>Create an Event</a></p><br>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<tr><td>".$count . "</td>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$aresult=mysqli_fetch_array($aresponse);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Leader ID: " . $event_leader_id . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$count = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "</table>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$user_id = $_SESSION['sessionID'];
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$L_val = htmlspecialchars($_POST['L_val']);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$SQL = "INSERT INTO events_listing ";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "<h1>Event " . $event_name . " successfully created!</h1>";
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "Time: " . $event_time . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
echo "sa: " . $saturday . '<br>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
$result = $db->query($SQL) or die("Failed to submit.");
- Exclude checks
End of line character is invalid; expected "\n" but found "\r\n" Open
<?php
- Exclude checks
Line exceeds 120 characters; contains 162 characters Open
$SQL = $SQL . "(event_type,event_id,event_name,L_val,F_val,S_val,event_time,event_place,event_description,event_cap,event_leader_id,repeatable,required)";
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
$user_id = $_SESSION['sessionID'];
- Exclude checks
Line exceeds 120 characters; contains 266 characters Open
$SQL = "INSERT INTO regular_service_details (event_id,time,sunday,monday,tuesday,wednesday,thursday,friday,saturday,service_type,youth) VALUES ($event_id,'$e_time',$sunday,$monday,$tuesday,$wednesday,$thursday,$friday,$saturday,'$service_type',$youth) ";
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
include('mysql_access.php');
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
$SQL = $SQL . $event_type . "'," . $event_id . ",'" . $event_name . "'," . $L_val . "," . $F_val . "," . $S_val . ",'" . $event_time . "','";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_type = htmlspecialchars($_POST['event_type']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$required = 1;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = $SQL . $event_place . "','" . $event_description . "'," . $event_cap . "," . $event_leader_id . ",";
- Exclude checks
Expected 1 space after closing parenthesis; found 10 Open
if ($event_type = "Regular")
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$tuesday = htmlspecialchars($_POST['tuesday']);
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
$youth = 1;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
echo "<tr><td>#</td><td>Name</td><td>Type</td></tr>";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "<td>" . $result['event_type'] . "</td></tr>";
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Event Name: " . $event_name . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Time: " . $event_time . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "we: " . $wednesday . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
echo "<br><p><a href='create_event.php'>Create an Event</a></p><br>";
- Exclude checks
Expected 1 space after closing brace; newline found Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$L_val = htmlspecialchars($_POST['L_val']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_cap = htmlspecialchars($_POST['event_cap']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = $SQL . "(event_type,event_id,event_name,L_val,F_val,S_val,event_time,event_place,event_description,event_cap,event_leader_id,repeatable,required)";
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
if ($event_type = "Regular")
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
if (isset($_POST['submit']) && isset($_POST['event_name']))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$S_val = htmlspecialchars($_POST['S_val']);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
}
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "sa: " . $saturday . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
echo "<table>";
- Exclude checks
Whitespace found at end of line Open
{
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Friendship: " . $F_val . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$e_time = htmlspecialchars($_POST['time']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$wednesday = htmlspecialchars($_POST['wednesday']);
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
if (isset($_POST['youth']))
- Exclude checks
Expected 1 space after closing parenthesis; found 10 Open
if (isset($_POST['repeatable']))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = "INSERT INTO events_listing ";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Description: " . $event_description . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "tu: " . $tuesday . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
$response=$db->query("SELECT event_name,event_type FROM events_listing");
- Exclude checks
Expected 1 space after ELSE keyword; 0 found Open
else{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
echo "Only exec can create events.";
- Exclude checks
Whitespace found at end of line Open
$user_id = $_SESSION['sessionID'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_place = htmlspecialchars($_POST['event_place']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$result = $db->query($SQL) or die("<a href='create_event.php'>Create an Event</a>");
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$F_val = htmlspecialchars($_POST['F_val']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Place: " . $event_place . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$thursday = htmlspecialchars($_POST['thursday']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$friday = htmlspecialchars($_POST['friday']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "su: " . $sunday . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "th: " . $thursday . '<br>';
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
else{
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
if ($status == 'Appointed' || $status == 'Elected') {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_description = htmlspecialchars($_POST['event_description']);
- Exclude checks
Space before opening parenthesis of function call prohibited Open
require_once ('session.php');
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
if (isset($_POST['required']))
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$required = 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = $SQL . " VALUES ('";
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
while($result=mysqli_fetch_array($response))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Repeatable: " . $repeatable . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$sunday = htmlspecialchars($_POST['sunday']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "<tr><td>".$count . "</td>";
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$service_type = htmlspecialchars($_POST['service_type']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$youth = 0;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "Event Time: " . $e_time . '<br>';
- Exclude checks
Expected 1 space after closing parenthesis; found 7 Open
if (isset($_POST['submit']) && isset($_POST['event_name']))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_leader_id = htmlspecialchars($_POST['event_leader_id']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Leader ID: " . $event_leader_id . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$result = $db->query($SQL) or die("Failed to submit.");
- Exclude checks
Whitespace found at end of line Open
if (isset($_POST['submit']) && isset($_POST['event_name']))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_id = htmlspecialchars($_POST['event_id']);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_time = htmlspecialchars($_POST['event_time']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$repeatable = 1;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = $SQL . $repeatable . "," . $required . ")";
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$monday = htmlspecialchars($_POST['monday']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$saturday = htmlspecialchars($_POST['saturday']);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "mo: " . $monday . '<br>';
- Exclude checks
Expected 1 space after WHILE keyword; 0 found Open
while($result=mysqli_fetch_array($response))
- Exclude checks
Space before opening parenthesis of function call prohibited Open
require_once ('mysql_access.php');
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$event_name = htmlspecialchars($_POST['event_name']);
- Exclude checks
Expected 1 space after closing parenthesis; found 10 Open
if (isset($_POST['required']))
- Exclude checks
Opening brace should be on a new line Open
function show_active() {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$SQL = $SQL . $event_type . "'," . $event_id . ",'" . $event_name . "'," . $L_val . "," . $F_val . "," . $S_val . ",'" . $event_time . "','";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Event Type: " . $event_type . '<br>';
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Event ID: " . $event_id . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
echo "fr: " . $friday . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
$SQL = "INSERT INTO regular_service_details (event_id,time,sunday,monday,tuesday,wednesday,thursday,friday,saturday,service_type,youth) VALUES ($event_id,'$e_time',$sunday,$monday,$tuesday,$wednesday,$thursday,$friday,$saturday,'$service_type',$youth) ";
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
$count = 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$count++;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
echo "</table>";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
$repeatable = 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "<h1>Event " . $event_name . " successfully created!</h1>";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Capacity: " . $event_cap . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Required: " . $required . '<br><br>';
- Exclude checks
Expected 1 space after closing parenthesis; found 14 Open
if (isset($_POST['youth']))
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
}
- Exclude checks
Expected 1 space after closing parenthesis; found 6 Open
while($result=mysqli_fetch_array($response))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "<td>" . $result['event_name'] . "</td>";
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
if (isset($_POST['repeatable']))
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
echo "Leadership: " . $L_val . '<br>';
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
{
- Exclude checks
The variable $event_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $F_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_place is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $e_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_leader_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_name is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_cap is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_description is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_name is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_name is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $service_type is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $F_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_place is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $F_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_leader_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_description is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_leader_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $e_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_cap is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_cap is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_name is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_description is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_val is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $e_time is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $SQL is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_id is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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_place is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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 $service_type is not named in camelCase. Open
function show_active() {
include('mysql_access.php');
$user_id = $_SESSION['sessionID'];
$aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
$aresult=mysqli_fetch_array($aresponse);
- Read upRead up
- Exclude checks
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();
}
}