Skip to content

php-documentation with [learnwithfair, Learn with fair, Rahatul Rabbi, Md Rahatul Rabbi ,rahatulrabbi]

Notifications You must be signed in to change notification settings

learnwithfair/php-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

php-documentation with [learnwithfair, Learn with fair, Rahatul Rabbi, Md Rahatul Rabbi ,rahatulrabbi]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published