helppppppp

This commit is contained in:
Mario 2023-02-14 09:14:56 +02:00 committed by GitHub
parent 1d9e2df7be
commit c25cf66bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,8 +43,9 @@ if ($momentoftruth == 1) {
$checkifjobalreadyexists->execute();
$okcheck = $checkifjobalreadyexists->fetchColumn();
if ($okcheck == 1) {
$getjobforalready = $con->prepare('SELECT jobid FROM jobs WHERE placeid=:placeid');
$getjobforalready = $con->prepare('SELECT jobid FROM jobs WHERE placeid=:placeid AND isonline=:isonline');
$getjobforalready->bindParam(':placeid', $placeid);
$getjobforalready->bindParam(':isonline', $helppdo);
$getjobforalready->execute();
$china2 = $getjobforalready->fetch(PDO::FETCH_BOTH);
$jobid = $china2['jobid'];