Tag: PHP

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

#php #oop

PHP Login Script Using MySQLi JQuery And Ajax

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

#php #mysqli #ajax #jquery

Setting Up A Local Web Server For PHP

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

#php

Curl Get Request With Parameters Example

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

#php #curl

PHP Connect To MySQL Database

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

#php #mysql

Brief Explanation Of PHP Abstract Class And Its Use Cases

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

#php #class #object #oop-php

Insert Data Into MySQL Database Table Using PHP

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

#php #mysql #insert #pdo #oop

PHP In_array() Array Function Example

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

#php #array

Json_encode() Function | Convert PHP Array To JSON

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

#json-encode #php

Don't Use If Else Ladder In Php Rather Use This Method

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

#php #php-if-else