Fetch Data From Database In Descending In CodeIgniter

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()...

CodeIgniter Code Snippets - 2 months ago

nullsafe operator - PHP 8

nullsafe operator - PHP 8

The nullsafe Operator allows a developer to eliminate the null check for each property before going onto the next chain...

PHP / MySQL - 2 months ago

Custom Helper functions in Laravel

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...

Laravel - 2 months ago

Connect to Salesforce with Node.js

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...

Node JS - 2 months ago

Generate a PDF from HTML with puppeteer

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....

Express.js - 3 months ago

Remove Empty Array Elements and reindex in PHP

Remove Empty Array Elements and reindex in PHP

The built-in array_filter() function removes all the empty elements, zeros, false and null values from an array. This function uses...

PHP / MySQL - 3 months ago

JavaScript - find And findIndex

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...

Javascript - 3 months ago

JavaScript - Optional chaining (?.)

JavaScript - Optional chaining (?.)

Optional chaining allows you to safely access the nested object properties. In general, to access the nested object properties you...

Javascript - 3 months ago

JavaScript - Nullish coalescing operator (??)

JavaScript - Nullish coalescing operator (??)

The nullish coalescing operator (??) is a logical operator that returns its right-hand side operand when its left-hand side operand...

Javascript - 3 months ago

JavaScript - Logical assignment operators

JavaScript - Logical assignment operators

Logical assignment operators are new compound assignment operators that combine the logical operations &&, ||, or ?? with assignment x...

Javascript - 3 months ago