DEBUG: Error reporting is ON.
Executing line: 9

Executing line: 13
Executing line: 15
Executing line: 17
Executing line: 19

DEBUG: Credentials have been set.
Executing line: 22

DEBUG: 'pdo_mysql' extension is loaded and available.
Executing line: 32

DEBUG: Attempting to create new PDO object...
Executing line: 36
Executing line: 41

SUCCESS: Database connection appears to be successful!


Executing line: 44

Executing line: 48
DEBUG: PDO error mode set.
Executing line: 50

DEBUG: Attempting to query the 'courses' table...
Executing line: 54
Executing line: 56
Executing line: 58
DEBUG: Query executed and results fetched.
Executing line: 60

SUCCESS: Courses fetched!

Array
(
    [0] => Array
        (
            [id] => 1
            [name] => Full Stack Developer
            [description] => Master the art of building dynamic web applications from start to finish with our Full Stack Developer Course. This comprehensive program covers front-end technologies like HTML, CSS, JavaScript, and React, as well as back-end development using Node.js, Express, and databases like MongoDB and MySQL. You'll also gain hands-on experience with APIs, version control (Git), and deployment tools. Whether you're a beginner or looking to upskill, this course equips you with everything needed to become a job-ready full stack developer.
            [duration] => 6
            [fees] => 17500.00
        )

    [1] => Array
        (
            [id] => 4
            [name] => Python Advance
            [description] => Python Advance
            [duration] => 6
            [fees] => 22000.00
        )

    [2] => Array
        (
            [id] => 5
            [name] => Mba General  Internship
            [description] => MBA GENERAL INTERNSHIP FOR MBA ALL SPL STUDNETS
            [duration] => 6
            [fees] => 7500.00
        )

    [3] => Array
        (
            [id] => 6
            [name] => Ui/Ux Developer
            [description] => Ui/Ux Developer
            [duration] => 6
            [fees] => 14500.00
        )

    [4] => Array
        (
            [id] => 7
            [name] => Corporate Finance Internship Program
            [description] => Roles in finance: Analyst, Accountant, FP&A, etc.

Real-world finance workflows in companies

Internship-style simulation: "You’re a finance intern in Our company"
            [duration] => 6
            [fees] => 12500.00
        )

    [5] => Array
        (
            [id] => 8
            [name] => Financial Modeling & Analysis Internship Course
            [description] => Financial Modeling & Analysis Internship Course
            [duration] => 6
            [fees] => 14500.00
        )

)
Executing line: 71

Executing line: 75
DEBUG: Script finished successfully.Executing line: 77