How to Declare Class and Object in PHP
In this tutorial we will see how to create class and object in php. A class is a blue print of an object and an object is a instance of a class. let's see the example to understand better.&nb... Read more
CodeCheef have tutorials for PHP tag. Read all the blogs of this tag.
In this tutorial we will see how to create class and object in php. A class is a blue print of an object and an object is a instance of a class. let's see the example to understand better.&nb... Read more
Login is most important feature for our application . Hacker can easily hack your website if you make simple login mechanism in our application . In this tutorial i will show you how to do strong... Read more
Before we create the first program or dynamic web pages or websites in PHP. We should know about the local web server. Because we knew that PHP is server side scripting language. It will be code ex... Read more
There will be times that you will need to pull out data from a web service using PHP’s GET method. In this tutorial I will be demonstrating how you can make a GET Request using cURL. cURL is... Read more
In this tutorial we are going to see how we can php connect to mysql database. PHP 5 and later can work with a MySQL database using: MySQLi extension (the "i" stands for improved)... Read more
In This example, I will discuss abstract class php and difference between interface and abstract class in php. If you don't know about it, then this abstract class in oops with example t... Read more
In this tutorial i will show you how to insert data into database using php and mysql. In this tutorial we will see how we can insert data to database using procedural, object oriented php and finally... Read more
The PHP in_array() function is a bulit in function. in_array() function checks if a value exists or not in a array. It returns TRUE if the given items is found in the given array, and FALSE other... Read more
In this tutorial i will discuss about php json_encode() inbuilt method. json_encode — Returns the JSON representation of a value. In php json_encode() function is an inbuilt... Read more
In this tutorial we will learn about php if statement multiple conditions example. When we develop application, sometimes we will face such situation that we need multiple if condition in php. Th... Read more