Fetch Data From Database In Descending In CodeIgniter

To fetch data in descending order from the database in CodeIgniter you need to use the order_by() along with get() method. Below is the sample code. I hope you like this Post, Please feel free to comment below, your suggestion […]

PHP 8 – Nullsafe operator

The operator nullsafe allows a developer to eliminate the null check for each property before going onto the next chain of the property or method. It is very common to only want to call a method or fetch a property on […]

Custom Helper functions in Laravel

In this post, we gonna create custom functions and load it in the Laravel project. These functions can be accessible all over the project. Loading custom helper functions in Laravel is pretty straightforward. Let’s […]

Connect to Salesforce with Node.js

In this post, we gonna make a connection to Salesforce with Node.js and we will update the Salesforce Objects. We will use node-salesforce npm module to authenticate with Salesforce. So let’s install it. Let initialize […]

Generate a PDF from HTML with puppeteer

In this post, we gonna use Puppeteer to generate PDF files from HTML. With Puppeteer we can also generate screenshots. What is Puppeteer? The documentation says: Puppeteer is a Node library that provides a high-level API […]

Remove Empty Array Elements and reindex in PHP

The built-in array_filter() the function removes all the empty elements, zeros, false and null values from an array. This function uses a callback function to filter the array values. If no callback function is specified, […]

JavaScript – find And findIndex

The Array.prototype.findIndex() and Array.prototype.find() methods are useful to search the provided array. The findIndex() method returns the index of the first element in the array that satisfies the provided testing […]

DMCA.com Protection Status