Create jQuery UI autocomplete with PostgreSQL PHP and AJAX

jQuery UI autocomplete allows user to select an item from the suggestion list based on the typed value.

You can load suggestion list with and without AJAX.

In this tutorial, I show how you can add jQuery UI autocomplete on your page and load PostgreSQL database data using AJAX and PHP.

Create jQuery UI autocomplete with PostgreSQL PHP and AJAX

Read more

How to add Foreign key in Migration – Laravel 8

A foreign key is a field that is used to establish the relationship between two tables via the primary key (You can also use a non-primary field but not recommended).

In this tutorial, I show how you can add a foreign key constraint while creation of table using migration in the Laravel 8 project.

How to add Foreign key in migration - Laravel 8

Read more