Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PHP Programming for Begginers
Rating: 4.2 out of 5(83 ratings)
8,036 students

PHP Programming for Begginers

Learn the Basics and Fundamentals of PHP Programming! A Great PHP Course that you will Actually Learn!
Last updated 8/2021
English
English [Auto],

What you'll learn

  • PHP Programming Basics
  • PHP for Web Developement Skills
  • PHP for E-Commerce
  • PHP with My SQL

Course content

1 section20 lectures1h 40m total length
  • Introduction to PHP4:01

    Explore the basics of PHP, from installation to variables, strings, operators, control statements, arrays, and loops. Learn functions, database connectivity, cookies, and email for dynamic web pages.

  • Xamp Install3:48

    Learn how to install xampp on windows, use the control panel to start and stop services, and set up a web root folder to run php pages on localhost.

  • PHP Syntax5:22

    Learn the basics of PHP syntax as a server-side scripting language, including starting with <?php and ending with ?>, using .php files, and echoing output with semicolon-delimited statements.

  • PHP Variables4:30

    Discover how PHP variables hold values or expressions, follow naming rules, and distinguish local versus global scope. See dynamic typing in action with variable examples and echo statements.

  • PHP String4:19

    Learn to manipulate strings in PHP by using the concatenation operator, the string length function, and the position function to locate substrings, with zero-based indexing.

  • PHP Operator4:38

    Learn how to use PHP operators, including assignment, arithmetic, modulus, and concatenation, plus pre/post increment and decrement, comparison, and logical operators, with practical examples.

  • If else4:52

    Explore PHP control structures, including if statement, if else statement, else if statement, and switch statement, and learn how to execute code blocks based on conditions.

  • Switch3:04

    Explore how to use the PHP switch statement to select one of many code blocks based on an expression, with case labels, break statements, and a default fallback.

  • Arrays5:19

    Explore arrays in PHP, including numeric, associative, and multidimensional arrays, with how to create them, assign indices or keys, and access values efficiently.

  • While4:18

    Master looping structures in PHP, including while, do-while, for, and foreach, and see how initialization, condition checks, and increments drive repeated code blocks.

  • For loop4:05

    Master how to use for loops and for each loops in PHP, controlling execution with initialization, condition, and increment, and iterating arrays to access each element.

  • Function4:50

    Learn to create and call your own PHP functions, pass parameters, and return values using the function keyword, curly braces, and echo statements, callable from anywhere in a page.

  • PHP Forms6:58

    Learn how to retrieve form data with get, post, and request methods, and use $_GET, $_POST, and $_REQUEST while recognizing visibility and security considerations.

  • PHP With MySQL6:24

    Explore creating a MySQL database and a user_info table with columns user_id, user_name, and password, then insert, select, update, and delete records using SQL queries.

  • Connect to MySQL and Create Database6:59

    Connect to a MySQL database using the PHP connection function, then create a database and a table, select the database, define columns with types and constraints, and close the connection.

  • Insert Data and Retrieve Data5:54

    Learn to insert new records into a MySQL database using two PHP insert forms, and retrieve data with select and fetch first row via mysqli.

  • Where Update and Delete5:35

    Learn how to filter data with the where clause and perform update and delete operations in a PHP database.

  • Sessions4:46

    Learn how PHP sessions manage user data across pages by starting sessions, storing and retrieving session variables, and destroying sessions to control temporary data.

  • Cookies4:23

    Learn how to create, retrieve, and delete cookies in PHP, using the cookie function with name, value, expiration, and optional path and domain.

  • Files6:02

    Learn how to open files in PHP with fopen, choose modes (r, r+, w, w+, a, a+, x, x+), read and write data, and close files using fclose.

Requirements

  • You don't need to have any previous knowledge of programming or PHP! The only prerequisite for this course is some basic knowledge of HTML, CSS, JavaScript, and Basic MySQL. Some basic knowledge of the Internet and its terms.

Description

PHP (Personal Homepage or Hypertext Preprocessor) is one of the well-known programming languages. It is simple and preferable for many to build a small website and web applications. PHP has a vast community with lots of active members. WordPress, Flickr, and Wikipedia are some websites that are built with PHP. It is the most used server-side programming language by far. Approximately 75 percent of all webpages are powered by PHP.

If you are asking if there is anything special you need to know before you start learning PHP, the answer is no. Just dive in to the PHP: Documentation and get started.

One of the reasons for PHP's success is that it has really great documentation. Every concept is broken down in simple terms and explained fully. And on each page, visitors to the site comment and fill in more examples and missing details.

PHP is also one of the simplest and most straightforward scripting languages. This makes it very easy to learn.

In order to use PHP effectively, you will eventually need to learn other languages, such as:

  1. HTML, because it's what PHP normally outputs to the browser

  2. MySQL, because you'll want to store user data in a database

  3. CSS, because it's how you add style to HTML pages

  4. JavaScript, because you'll want to make your HTML pages interactive

I listed those in the order that I recommend you learn them. But I recommend that you start with PHP.

Who this course is for:

  • programmers
  • web developers
  • web designers
  • app developers
  • coders
  • computer science
  • technology addicts
  • marketers