-
Instructor:
Language:
prepare($sql); $stmt->execute(); $rowCount = $stmt->rowCount(); if($rowCount > 0){ $q = $DB->query($sql); $q->setFetchMode(PDO::FETCH_ASSOC); $status = ''; while ($row = $q->fetch()){ $status .= $row['status']; } if($status == 'active'){ echo 'You have already purchased this course
'; } else { echo 'Payment details are not approved yet. Please wait
'; } } else { echo ''; } } else { echo ''; } ?>query($rsql); $cq->setFetchMode(PDO::FETCH_ASSOC); $i = 0; $comments = ''; while ($crow = $cq->fetch()){ $comments .= 'Comments
5){ ?>Reviews
Note - Confirmation email will be sent to your email
'.$crow['user_name'].' '.$crow['added_date'].'
'.$crow['comment'].'