Add and Save CKEditor 5 data to MySQL database with PHP

Ever wished for a text editor that’s more than just basic? Well, meet CKEditor 5, a tool that goes beyond the ordinary. Packed with features to enhance your writing journey, it’s not your average text box.

In this tutorial, I show how you can initialize CKEditor 5 with file upload on the element and save its data to the MySQL database with PHP.

Add and Save CKEditor 5 data to MySQL database with PHP

Read more

5 Star Rating system with jQuery AJAX in CodeIgniter 4

The 5 star rating system allows users to rate articles on a scale of 1 to 5.

It is a popular way for visitors to merchant websites to rate the quality of products and services. It is also commonly used to rate the quality of user-generated content, such as reviews and comments.

In this tutorial, I am creating a 5 star rating system in CodeIgniter 4 where the ratings will be stored in a database and the average rating will be displayed with the article. Users can rate an article and based on the rating the average rating gets updated.

5 Star rating system with jQuery AJAX in CodeIgniter 4

Read more

How to Create Model and Fetch records in CakePHP 4

Model are used to interact with the specific database table and perform operations like – retrieving, inserting, updating, and deleting records.

In CakePHP 4 from Model you can restrict field access for insertion/updation. It automatically defines field validation while Model creation according to table structure that you can modify.

In this tutorial, I show how you can create a model and fetch records from the database table and display it on the page in CakePHP 4 project.

How to create Model and fetch records in CakePHP 4

Read more