Browsing:

Tag: php

How to become a good php developer

php developerr

PHP, abbreviated as Hypertext preprocessor is a kind of programming or scripting language used in computer systems. It was established in the year of 1994 by Rasmus Lerdorf for the purpose of website development. PHP also find applications in the process of website designing apart from development. It is one of the open source computer languages, whose scripting is made usually on the server side. It constitutes mainly the components Read more…


PHP switch case Statement

switch case

PHP switch case statement Use to select one of many blocks of code to be executed.switch-case statement is alternative of the if-elseif-else statement, which does almost the same thing. The switch-case statement tests a variable against a series of values until it finds a match, and then executes the block of code corresponding to that match. Syntax of switch case statement

  Example  

    switch case Read more…


HTTP GET and POST Method in PHP

What is HTTP? HTTP Stands for Hypertext Transfer Protocol (HTTP). That is Manipulate to enable communications between clients and servers. HTTP works as a request and response protocol between a client and server. What is client and Server There are two ways the browser client can send information to the web server. A web browser may be the client, and application on a computer that hosts a web site may be Read more…


How To Check Number Is Odd Or Even

How To Check Number Is Odd Or Even in php. first we understand what is even and odd. Even Number : A number is called even if the number is divisible by 2 Odd Number : A number is called odd if it is not divisible by 2. Below are simple Examples for understand : Input : 90 Output : Even Explanation: The number 90 is divisible by 2 Input Read more…


Building a Bootstrap Contact Form Using PHP and AJAX

Hello friends, In this tutorial I’ll go over the steps to create a working contact form using Bootstrap, in combination with AJAX and PHP. From there we can explore some additional features such as some fancy CSS animation with animate.css, further validation in jquery. you need to add some css and js files in your folder.   Html Form Start Here : <!DOCTYPE html> <html> <head> <title>Contact form </title> <meta Read more…


How do I Convert Date Format in PHP

Hello friends, We uses PHP strtotime() and date() functions to convert date format in php. For example we have stored a date YYYY-MM-DD format in a variable and need to change this to MM-DD-YYYY format. We can achieve this by converting date first to seconds using strtotime() function. After that reconstruct date to any format using date() function. Examples are below 1. Change YYYY-MM-DD => MM-DD-YYYY Here we have date Read more…