exec.php
Line exceeds 120 characters; contains 162 characters Open
Open
echo ("</ul><div class=\"small-12 columns\"><p class=\"text-center\"><a href=\"mailto:" . $position_email . "\">" . $position_email . "</a></p></div></div>");
- Exclude checks
Line exceeds 120 characters; contains 146 characters Open
Open
echo "<img src=\"" . getPhotoLink($name_query['id']) . "\" width=\"125\" style=\"display: block; margin-left: auto; margin-right: auto;\">";
- Exclude checks
Line exceeds 120 characters; contains 166 characters Open
Open
echo "<li><div class=\"row\"><div class=\"small-12 columns\"><h1 class=\"text-center\">$current_position</h1></div><ul class=\"small-block-grid-3 text-center\">";
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
if(mysqli_num_rows($result2) == 0){
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$sql2 = "SELECT id, firstname, lastname FROM contact_information WHERE position='$current_position';";
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
while($position_query = mysqli_fetch_array($result)){
- Exclude checks
Expected 1 space after ELSE keyword; 0 found Open
Open
}else{
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
require_once ('session.php');
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$current_position = $position_query['position'];
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$result2 = $db->query($sql2);
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
require_once ('get_photo.php');
- Exclude checks
Expected 1 space after WHILE keyword; 0 found Open
Open
while($position_query = mysqli_fetch_array($result)){
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}else{
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
if(mysqli_num_rows($result2) == 0){
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
require_once ('mysql_access.php');
- Exclude checks
Expected 1 space after WHILE keyword; 0 found Open
Open
while($name_query = mysqli_fetch_array($result2)){
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
while($name_query = mysqli_fetch_array($result2)){
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
echo "<img src=\"" . getPhotoLink($name_query['id']) . "\" width=\"125\" style=\"display: block; margin-left: auto; margin-right: auto;\">";
- Exclude checks
Expected 1 space after IF keyword; 0 found Open
Open
if(mysqli_num_rows($result2) == 0){
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
echo "<h4 class=\"text-center\">" . $firstname . "<br>" . $lastname . "</h4></div></li>";
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
while($name_query = mysqli_fetch_array($result2)){
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
echo "<li style=\"float: none; display: inline-block;\"><div class=\"small-12 columns\">";
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$lastname = $name_query['lastname'];
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$position_email = $position_query['position_email'];
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
echo "</li>";
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
echo ("</ul><div class=\"small-12 columns\"><p class=\"text-center\"><a href=\"mailto:" . $position_email . "\">" . $position_email . "</a></p></div></div>");
- Exclude checks
Expected 1 space after closing brace; 0 found Open
Open
}else{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 6 Open
Open
$firstname = $name_query['firstname'];
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
echo "<li><div class=\"row\"><div class=\"small-12 columns\"><h1 class=\"text-center\">$current_position</h1></div><ul class=\"small-block-grid-3 text-center\">";
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks