Saving and duplicating data into the associated table? This quick tutorial will show how to save data and duplicate it into the associated table. For this tutorial, I set 2 tables, i) users and ii) clones where the input process will be executed in the table users and duplicate into table clones.

Add a comment

This tutorial will explain how to use PHP Simple HTML DOM Parser to extract specific content from a website and published it into another website.  Web scraping is the process of extracting data or content from a website. The extracted data or content can be published on other website or save into a database. Unlike screen scraping which captures the content as an image, web scraping extracts underlying HTML code to retrieve the data or content from the website.

Add a comment

There are many methods of sending notification to alert the web application administrator or moderator regarding some event in the web application that required attention from them. Technically, most of the notification is sent via email, however, Telegram has a bot that is free to generate and use. Taking the advantages of the bot, we can send a telegram notification message to alert the web application administrator.

Add a comment

CakePHP 4 Covid-19 Tracker Module

This tutorial will demonstrate how to populate data from JSON and CSV format from online sources. Technically the module is not limited to the CakePHP where it also can be applied to others website or web application with PHP support. The Covid-19 module tracker will present Malaysia data 1) new case; 2) new death; 3) active case; 4) total recovered; 5) total case; 6) total death; 7) total people vaccinated; 8) total fully vaccinated and; 9) total vaccination. It also includes the worldwide data: total worldwide recovered; total worldwide case and total worldwide death.

Add a comment

When developing a web application, a dynamic input usually will be used to complete some of the tasks such as dynamically insert data or bulk data. Using jQuery, the dynamic input can be easily generated even there are lots of web articles/tutorials has been published regarding this matter but this tutorial was specifically focused on generating dynamic input for CakePHP 4 and save it into the database. The focus of this tutorial is to create the dynamic input field and save the multiple entities.

Add a comment

Page 1 of 7