Git Product home page Git Product logo

php-documentation's Introduction

PHP-DOCUMENTATION

Youtube Facebook Instagram LinkedIn

Thanks for visiting my GitHub account!

Hypertext Preprocessor (PHP) is a general-purpose scripting language geared towards web development. It was created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by the PHP Group. PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.

See More

Source Code (Download)

Click Here

Required Software

Basic Syntax

<?php
// Code tobe excuted
echo "Rahatul Rabbi";
?>

Error Checker

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Date Check

<?php

        $date1 = date( 'Y-m-d', strtotime( "yesterday" ) );
        $date2 = date( 'Y-m-d', strtotime( "-2 days" ) );
        $date3 = date( 'Y-m-d', strtotime( "-3 days" ) );
        $date4 = date( 'Y-m-d', strtotime( "-4 days" ) );
        $date5 = date( 'Y-m-d', strtotime( "-5 days" ) );
        $date6 = date( 'Y-m-d', strtotime( "-6 days" ) );

        echo $date1."</br>";
        echo $date2."</br>";
        echo $date3."</br>";
        echo $date4."</br>";
        echo $date5."</br>";
        echo $date6."</br>";

?>

<?php

        $from_date = date( 'Y-m-d', strtotime( "-30 days" ) );
        $to_date    = date( 'Y-m-d', strtotime( "-6 days" ) );
        echo $from_date.'</br>';
        echo $to_date;
?>

Follow Me

github facebook instagram twitter YouTube

php-documentation's People

Contributors

learnwithfair avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.