PHP
Welcome to PHP programming section of C# Corner. In this section, you will find various PHP Programming related source code samples, articles, tutorials, and tips.

RECENT POSTS

  • Nilesh Sanyal

    SQL Injection Step By Step - Part One

    This article explains how SQL injection can be used to bypass the login page of a PHP application.
    Nilesh Sanyal Sep 30, 2019
  • Dipa Mehta

    Starting With PHP - Installation, Syntax, Variables, Constant

    In this article, you will learn how to get started with PHP - installation, syntax, variables, and constant.
    Dipa Mehta Jul 25, 2019
  • Tarun Agrawal

    Convert Array to String in PHP

    This code explains how to convert an array into a string in PHP. Also, how to convert a string into an array in PHP.
    Tarun Agrawal Jun 13, 2019
  • Sharad Gupta

    Random String in PHP

    PHP rand function generates a random string. In this article, learn to create a random string in PHP.
    Sharad Gupta Jun 01, 2019
  • Vineet Kumar Saini

    Include() and Require() Function in PHP

    Let's learn php include file functionality using the include() and require() functions in PHP.
    Vineet Kumar Saini May 28, 2019
  • Vineet Kumar Saini

    Dropdown List in PHP

    In this article you will see how to create a static and dynamic drop down list in PHP.
    Vineet Kumar Saini May 21, 2019
  • Mike Steward

    Insert Statement With PHP Script

    In this article we are going to have a glance at the insert into statement through PHP. The INSERT INTO statement is used to insert new records in a table. Here we are going to explore the concept ...
    Mike Steward May 16, 2019
  • Vineet Kumar Saini

    Database Connectivity (Insert and Select) With MySQL in PHP

    This article explains how to insert and select data from database into a HTML table in PHP.
    Vineet Kumar Saini May 16, 2019
  • Vineet Kumar Saini

    Insert Value From Radio Button in MySQL in PHP

    Using this article one can easily understand how to insert a value from a radio button into a MySQL database in PHP.
    Vineet Kumar Saini May 16, 2019
  • Md Sarfaraj

    File Handling In PHP

    This blog demonstrates file handling in PHP. Files are used to store data permanently on a hard disk. PHP supports built-in library functions to interact with files.
    Md Sarfaraj Apr 10, 2019
  • Vineet Kumar Saini

    Insert Value From CheckBox In Database (MySQL) In PHP

    In this article you will see how to insert a value from a checkbox in the MySQL database.
    Vineet Kumar Saini Apr 08, 2019
  • Vineet Kumar Saini

    Implode() and Explode() Function in PHP

    In this article, learn how to use PHP Implode function and PHP Explode function in an application. Explode() function breaks a string into an array. Implode() function returns a string from an arra...
    Vineet Kumar Saini Apr 07, 2019
  • Harikrishna Kundariya

    Step-By-Step Guide To Setting Up A Full-Text Search In Laravel Using Scout

    Laravel Scout is a driver-based & straightforward solution. It adds Full-Text Search to Eloquent Models. The library makes use of model observers. The reason for that is to keep the search inde...
  • Vinod  Kumar

    MySQL Like Operator in PHP

    In this article I will explain the MySQL Like operator in PHP. The MySQL Like operator is based on pattern matching and commonly used to select data based on pattern matching.
    Vinod Kumar Dec 19, 2018
  • Vinod  Kumar

    Introduce Type Hinting In PHP5

    This article explains type hinting using PHP5. Functions square measure are currently able to force parameters to be objects by specifying the name of the category within the operate prototype, int...
    Vinod Kumar Dec 18, 2018
  • Vineet Kumar Saini

    Date() Function in PHP

    Using this article one can easily understand , how to format a date and time in PHP and related functions.
    Vineet Kumar Saini Oct 29, 2018
  • Mike Steward

    Working with PHP functions with XAMPP

    In this section we are going to understand with php functions. PHP is very well known in the world of web-development & is a powerful tool for making dynamic and interactive Web Pages.
    Mike Steward Oct 29, 2018
  • Vineet Kumar Saini

    Mathematical Functions in PHP

    In this article you will see how to use mathematical functions in PHP. abs () function, dechex () function, sqrt() function, log() function, floor() function, ceil() function, pow() function, max()...
    Vineet Kumar Saini Oct 29, 2018
  • Vineet Kumar Saini

    Functions in PHP

    Using this article one can easily understand the concept of functions in PHP.
    Vineet Kumar Saini Oct 29, 2018
  • Pratiksha R

    Exploring Kraken - A Distributed And Async PHP Framework

    PHP frameworks are noted for their developer friendly feature and robust nature. PHP itself is a widely used programming language, so the different frameworks in themselves are hugely admired and w...
    Pratiksha R Aug 16, 2018
  • Vinod  Kumar

    XML Parser In PHP

    In this article, I explain about the XML parser in PHP. The tree-based parser transforms an XML documents to tree structure. The event-based parser views XML documents as a series of events.
    Vinod Kumar Aug 13, 2018
  • Vinod  Kumar

    Var_dump Function In PHP

    In this article, I will explain the var_dump variable handling function in PHP. The var_dump() function dumps information about a variable.
    Vinod Kumar Aug 13, 2018
  • Vinod  Kumar

    Strategy Pattern In PHP

    This article explains about Strategy Pattern in PHP. Strategy Patterns have a common pattern that helps us to create decisions on completely different cases,
    Vinod Kumar Aug 13, 2018
  • Vinod  Kumar

    MySQL Fetch Array Function in PHP

    In this article I explain the MySQL_Fetch_Array() function in PHP.
    Vinod Kumar Aug 13, 2018
  • Vijayakumar Mani

    Generate A Random Password And OTPs

    Passwords are important for security reason. Now we will create simple passwords that that are difficult to hack. You can do this by using special characters in passwords.
    Vijayakumar Mani Jul 18, 2018
  • View More