-
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 '
Instructor:
Language:
'.$priceOld.''; } ?>You have already purchased this course
'; } else { echo 'Payment details are not approved yet. Please wait
'; } } else { echo ''; } } else { echo ''; } ?>
Comments
Reviews
Note - Confirmation email will be sent to your email
'.$crow['user_name'].' '.$crow['added_date'].'
'.$crow['comment'].'