Skip to content

Commit

Permalink
minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikesh9220 committed Apr 5, 2019
1 parent 65c95ba commit d8c2e87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Student/ApplicationHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
$currentUserId = $_SESSION["uid"];

$applicationQuery = "select * from application as application
INNER JOIN school on application.SchoolId = school.SchoolId
where UserId='$currentUserId'";
INNER JOIN school on application.SchoolId = school.SchoolId
where UserId in (Select UserId from user where UserId = '$currentUserId')";




$applicationResult = mysqli_query($connection,$applicationQuery) or die(mysqli_error($connection));

Expand Down

0 comments on commit d8c2e87

Please sign in to comment.