Easy PHP Database Connection with PDO and MySQLi. Connect to MySQL database from PHP using MySQLi and PDO connections with example code for each connection.
Download XAMPP for Windows setup guide for PHP. Follow XAMPP for Windows beginner tutorial and install XAMPP on Windows step by step.
Using keyframes in CSS and settimeout Javascript function, display a toast notification in the PHP login form with MySQL when the user logs in successfully
Open a text file and read line by line to count the number of lines in the file using php fgets() function. See the PHP code example how it is used.
Preview and upload image without reloading page using jQuery Ajax with PHP and MySQL; image validation and delete image after upload. AJAX image upload tutorial
Apply PHP array function in_array() to find if a value exists in an array or not. With various examples, it can be very useful in PHP development.
Show an autocomplete textbox with a list of values from MySQL database while the user types in a text field. Use PHP with Ajax to get suggested values for the user.
Create Excel & CSV Files in PHP using PhpSpreadsheet. Simple code to generate these files and download them. PHP Excel CSV file creation tutorial.
Learn PHP using a simple program in PHP. Learn how to write with a PHP program example. Basic PHP code is written for beginners.
Use PHP and MySQL to display star ratings from MySQL database. Just select and display the ratings using the star symbol in an html table.
Develop a PHP form using PHP and MySQL with Ajax and jQuery to save form data automatically after every few seconds when the user enters data in the form.
PHP function md5() is a useful function used to create md5 hash of a string. See how you can generate it in PHP and Ajax without submitting a form.