| File | Status | Full Path |
|---|---|---|
| config.php | โ FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/config.php |
| dashboard.php | โ NOT FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/dashboard.php |
| index.php | โ NOT FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/index.php |
| print-application.php | โ FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/print-application.php |
| r3.png | โ FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/r3.png |
| bhsa_logo.png | โ FOUND | /home/bhsaedup/public_html/application.bhsa.edu.ph/bhsa_logo.png |
/home/bhsaedup/public_html/application.bhsa.edu.ph/pages../print-application.php?id={ID}
/home/bhsaedup/public_html/application.bhsa.edu.ph/print-application.php
<button onclick="window.open('../print-application.php?id=<?php echo $id; ?>', '_blank')">
Ctrl+Shift+R (or Cmd+Shift+R on Mac) to hard refresh the page
F12 to open developer tools and check the Console tab for any JavaScript errors
Open your browser's developer console (F12) and paste this command:
window.open('../print-application.php?id=1', '_blank', 'width=1000,height=800')
If this works in the console but not from the button, it's a JavaScript issue in your page.
Copy this exact button code into your pages/view-applicant.php file (around line 263):
<button onclick="openPrintWindow(id)" class="print-btn no-print">๐จ๏ธ Print Application Form</button>
<script>
function openPrintWindow(id) {
const url = '../print-application.php?id=' + id;
console.log('Opening:', url); // For debugging
window.open(url, '_blank', 'width=1000,height=800');
}
</script>