Category: PHP

  • MySQL connection to PHP

    To connect your MySQL Database to your PHP you need the connection data (host, port, name, password and charset) which is usually in a “config.php” file. Here’s an example: Then you will also need a “Database” PHP class like this:

    Zum Beitrag

    //

  • PHP Datatypes

    Array There’s an explanation about arrays with examples: Array explanation Object The Object datatype in PHP is used to represent instances of classes in Object-Oriented Programming (OOP). An object is a complex data type that can contain both properties (variables) and methods (functions) within a class. The object is created by instantiating a class, and…

    Zum Beitrag

    //

  • PHP

    For a short explanation about PHP, how it functions and / or for the Documentation you can find it here: PHP explanation Generally PHP will be used for the backend so you won’t see most of the code that you actually write though at times you will have or want to display PHP code or…

    Zum Beitrag

    //