MALIK SHAFI

Experienced PHP Developer with a strong background in building scalable web applications in the IT services sector. Proficient in PHP frameworks like Laravel and CodeIgniter, and front-end technologies, Skilled in MySQL database management, RESTful API integration, and working with AWS services such as EC2 and S3. Extensive hands-on experience with Nginx configuration on AWS EC2 instances, optimizing for performance and security.
43 Posts

Fix Debugging Script Error Handling in PHP

I got this unexpected error right after setting up the site builder, and since I’m not really familiar with CSS or PHP scripts, I...

Fix the fetchAll(PDO::FETCH_ASSOC) Error in PHP

The way I’ve been handling errors in my PHP code works, but I have to admit, it's becoming really tedious. Let me explain. Suppose...

MySQL_Connect Errors and Missing Best Practices in PHP Code

I recently had an interview where I was asked to analyze a PHP code and identify errors and bad programming practices. While I managed...

Increment The Variable $rows Inside a Loop in PHP

This PHP script processes a search query for user login data, allowing users to filter results by password or email. It fetches the matching...

Fix SQL Query Syntax Incorrect in the PHP Script?

This code provides a secure login system using mysqli with prepared statements to prevent SQL injection. It checks user credentials against a database and...