The Articles

 
Object-Oriented Design

Calculate Rating

If you’re collecting user ratings (e.g., 1 to 5 stars) and want to calculate the average rating and total number of stars, here’s a simple PHP example:

[…]

Continue Reading
 
Object-Oriented Design

Write a php Program to calculate frequency of each character of string without using HashMap.

Write a PHP program to calculate the frequency of each character in a given string. The program should count and display the occurrences of each character without using any built-in data structures like HashMap or associative arrays. This can be achieved using nested loops and basic string operations to manually count character frequencies.

[…]

Continue Reading
 
Object-Oriented Design

how to setup and use Googles Firebase push notification API for both Android and iOS

Below is a full tutorial on how to setup and use Googles Firebase push notification API for both Android and iOS. It is based on this earlier implementation of Googles GCM method: https://gist.github.com/prime31/5675017 – FCM is the new method and GCM will eventually be retired.

[…]

Continue Reading
 
vtigercrm logo

How to add relationship in vTigerCRM 7.*

In vTigerCRM 7.*, you can add relationships between modules (e.g., Contacts, Organizations, or custom modules) to establish meaningful connections and improve data management. Here’s a quick overview:

[…]

Continue Reading
 
vtigercrm logo

Vtiger CRM Pre-requisites

Installation Vtiger CRM is web-application built using PHP.

[…]

Continue Reading
 
Object-Oriented Design

Showing all errors and warnings in PHP

Four different ways to display errors in PHP Before diving into the details of managing and logging errors in PHP, let’s outline the four main ways to display errors in PHP:

[…]

Continue Reading
 
vtigercrm logo

How to create custom field in module in vTigerCRM

Creating a custom field in a module in vTigerCRM (Open Source) is fairly straightforward using the built-in Module Manager or through code/database, depending on your approach. In vTigerCRM, creating a custom field in a module involves using the built-in Module Manager. Here’s a brief description of the process:

[…]

Continue Reading
 
Object-Oriented Design

Object-Oriented Design (OOD) Principles

The SOLID principles are a set of five design principles in object-oriented programming (OOP) that help developers create more maintainable, flexible, and scalable software.

[…]

Continue Reading
 
phpmyadmin

How to Install phpMyAdmin?

Download phpMyAdmin from the official website. Go to the downloads section of phpmyadmin.net and download the archive with the latest available version of phpMyAdmin to your computer.

[…]

Continue Reading
 
lamp logo

How To Install Linux, Apache, MySQL, PHP (LAMP)

The LAMP stack is a popular open-source web development platform used to host dynamic websites and applications. It consists of Linux (the operating system), Apache (the web server), MySQL (the database server), and PHP (the programming language). Here’s a brief overview of the installation process:

[…]

Continue Reading