Deep Dive into PHP General Types

History of php father of php rasmus lerdorf in 1994 version 1.0 in(june). (that time he was created (CGI) Comment Gateway Interface and written in C ) second version in…

Read more »
Complete Reference Guide

Complete reference guide of PHP Arrays!

What is PHP Arrays Arrays are complex variables that allow us to store more than one value or a group of values under a single variable name. Let’s suppose you…

Read more »

Beginner guide of PHP Functions

PHP stands for Hypertext Preprocessor. PHP (recursive abbreviation for PHP: Hypertext Preprocessor) is a broadly utilized open source universally useful scripting language that is particularly appropriate for web advancement and…

Read more »
Complete Reference Guide

Complete reference guide of PHP Strings!

What is String in PHP A string is a sequence of letters, numbers, special characters and arithmetic values or combination of all. The simplest way to create a string is…

Read more »
Complete Reference Guide

Complete reference guide of PHP Functions!

PHP Built-in Functions A function is a self-contained block of code that performs a specific task. PHP has a huge collection of internal or built-in functions that you can call…

Read more »

Beginner guide of PHP General Types

PHP General Types means Basics of PHP programming language:- Comments & case-sensitivity Variables Includes below topic:- Integers, Booleans, Decimals, Constants Using built and functions determine types:- This model are very…

Read more »

How to fix PHPMyAdmin error, incorrect format parameter that appeared while importing a database?

First of all, we have to see some basic settings which are situated in php.ini. whenever we upload a database which size will be greater than max upload size and…

Read more »

8 Top Features of PHP Laravel Frameworks

The best features of PHP Laravel frameworks that make it popular among custom software developers and businesses alike: 1. Template Engine The best PHP framework is highly acknowledged for its…

Read more »

Error – phpmyadmin not accessible on network using ip address but localhost in ubuntu

Error Access forbidden! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file “httpd-xampp.conf”. Step 1…

Read more »

Error – No package php-mbstring and php-bcmathavailable in RHEL 7

Errors Solutions

Read more »

PHP Tutorial for Beginners

PHP FRONT TO BACK What is PHP?:- PHP: Hypertext Preprocessor(Recursive Acronym)Server-Side Programming/Scripting LanguageCan be embedded directly within HTML (<?php?>)Files use a “.php” file extension How Does PHP Work?:- Client makes…

Read more »

How to fetch data in excel or generate excel file in PHP

File structure for this tutorial : config.php (database connection file) index.php (For fetching data ) genrate-excel.php (For genrating excel file ) Create a sql table tblemployee. Structure of sql table…

Read more »

Password Hashing in PHP

Functions for hashing password password_hash() password_verify() password_hash() – Syntax: [code language=”php”] string password_hash(string $password , integer $algo [, array $options ] ) [/code] string $password – Password provide by user…

Read more »

How to delete records?

1) Write the delete statement: [code language=”php”] $sql = "DELETE FROM `users` WHERE `id`=:id"; [/code] 2) Prepare the query: [code language=”php”] $query = $dbh -> prepare($sql); [/code] 3) Bind the…

Read more »

How to use PDO to update the database?

1) Write the regular update statement and again, instead of values, assign the named placeholders. For example: [code language=”php”] $sql = "UPDATE `users` SET `city`= :city, `phone` = :tel WHERE…

Read more »

How to use PDO to read data from the database?

1) Write the regular select statement and again, instead of values, put named placeholders. For example: [code language=”php”] $sql = "SELECT * FROM users"; [/code] 2) Prepare the query: [code…

Read more »

How to use PDO to insert data into the database?

The SQL code for the users table: [code language=”sql”] CREATE TABLE IF NOT EXISTS users (id int(11) NOT NULL AUTO_INCREMENT, name varchar(60) DEFAULT NULL, phone varchar(12) DEFAULT NULL, city varchar(60)…

Read more »

PDO – PHP database extension

PDO – PHP database extension PDO (PHP Data Objects) is a PHP extension through which we can access and work with databases. Though PDO is similar in many aspects to…

Read more »

TURN OFF DISPLAY ERROR IN PHP

Method 1 & 2 & 3 https:///…-standards-error-fix Method 4 error_reporting(0); ini_set(‘display_errors’, ‘0’);     # don’t show any errors… error_reporting(E_ALL | ~E_STRICT);  # …but do log them Few more http:///…-standards-in-joomla…

Read more »