search

Next Section: 使用foreach语句遍历数组3831 plays

5 秒后自动播放下一节
  Watch Again

Band of Brothers new version PHP video tutorial

Introduction >
ChapterCourseware
Chapter1LAMP website construction

Form introduction

20 minutes42 seconds

Introduction to BS structure software types

14 minutes35 seconds

The era of Web2.0

17 minutes13 seconds

Web development standards

14 minutes40 seconds

Get to know scripting languages

12 minutes30 seconds

Web components required for dynamic website development 1

13 minutes22 seconds

Web components required for dynamic website development 2

12 minutes22 seconds

Web components required for dynamic website development 3

12 minutes30 seconds

How the Web works

14 minutes44 seconds

How the Web works: url parsing

12 minutes07 seconds

Dynamic website analysis of how the Web works

13 minutes24 seconds

Three mainstream web application platforms

11 minutes07 seconds

Comparison of three web platforms

11 minutes31 seconds

LAMP website development portfolio overview and development trends

13 minutes58 seconds
Chapter2Set up your PHP development environment

Several operating environments of PHP

19 minutes14 seconds

Install PHP operating environment

15 minutes34 seconds

Introduction to PHP running environment

27 minutes07 seconds
Chapter3PHP basics

Introduction to PHP functions

13 minutes17 seconds

The first PHP program

15 minutes08 seconds

PHP language tag and command delimiter "semicolon"

14 minutes23 seconds

PHP program comments and use of whitespace

19 minutes20 seconds

How PHP variables are stored in computer memory

18 minutes02 seconds

PHP variable declaration and variable naming

25 minutes26 seconds

PHP mutable variables

09 minutes14 seconds

PHP reference variable 1

12 minutes25 seconds

PHP reference variable 2

14 minutes54 seconds

Introduction to PHP variable types

15 minutes34 seconds

PHP boolean type (boolean)

13 minutes27 seconds

PHP integer (integer) and floating point (float or double)

19 minutes21 seconds

Declaration and definition of PHP strings

12 minutes54 seconds

The difference between single and double quotes in PHP strings

19 minutes29 seconds

Delimiter declaration for PHP strings

14 minutes27 seconds

practise

14 minutes27 seconds

PHP data type conversion and forced type conversion

12 minutes50 seconds

PHP data type conversion automatic type conversion

16 minutes58 seconds

Introduction to PHP constants

14 minutes00 seconds

Declaration and use of PHP constants

13 minutes04 seconds

Predefined constants

11 minutes14 seconds

What are the operation symbols in PHP?

10 minutes44 seconds

PHP arithmetic operators

19 minutes13 seconds

PHP self-increment (++) self-subtraction (--) operation 1

13 minutes44 seconds

PHP self-add (++) self-subtract (--) operation 2

14 minutes29 seconds

PHP assignment operator

12 minutes25 seconds

PHP comparison operators

13 minutes00 seconds

PHP logical operators

14 minutes06 seconds

Features of PHP logical operators (short-circuiting)

14 minutes02 seconds

Bitwise Operators in PHP 1

13 minutes44 seconds

Bitwise operators in PHP 2

16 minutes38 seconds

Bitwise Operators 3 in PHP

16 minutes32 seconds

PHP other operators

17 minutes35 seconds

PHP operator precedence and expressions

10 minutes53 seconds

PHP process control overview

14 minutes12 seconds

PHP branch structure

09 minutes26 seconds

PHP single conditional branch structure and two-way conditional branch structure

15 minutes27 seconds

PHP multi-directional conditional branch structure (elseif clause)

16 minutes51 seconds

PHP multi-directional conditional branch (switch statement) 1

13 minutes12 seconds

PHP multi-directional conditional branch (switch statement) 2

15 minutes13 seconds

PHP nested branch structure

11 minutes50 seconds

PHP example (simple calculator) 1

15 minutes32 seconds

PHP example (simple calculator) 2

11 minutes47 seconds

PHP example (simple calculator) 3

11 minutes09 seconds

PHP example (simple calculator) 4

17 minutes12 seconds

Introduction to PHP loop structure

09 minutes11 seconds

PHP loop structure while statement

13 minutes19 seconds

Application of PHP loop structure while

17 minutes54 seconds

PHP loop structure do-while statement

10 minutes35 seconds

PHP loop structure for statement

12 minutes46 seconds

Application of PHP loop structure for statement

15 minutes00 seconds

Special flow control statements

16 minutes31 seconds

PHP flow control statement goto

14 minutes43 seconds

Definition and application of PHP functions

14 minutes17 seconds

Syntax format of PHP custom function

13 minutes06 seconds

Parameters in PHP custom functions

13 minutes29 seconds

Return value (return) in PHP custom function

16 minutes58 seconds

PHP local variables

12 minutes26 seconds

PHP global variables

15 minutes45 seconds

PHP static variables

16 minutes45 seconds

PHP regular parameter functions

14 minutes45 seconds

PHP reference parameter function

12 minutes39 seconds

PHP default parameters function

13 minutes50 seconds

PHP function with variable number of parameters

15 minutes08 seconds

PHP variable function

12 minutes06 seconds

PHP callback function

17 minutes26 seconds

PHP making callback function 1

15 minutes22 seconds

PHP making callback function 2

12 minutes06 seconds

PHP making callback function 3

13 minutes47 seconds

PHP system functions

15 minutes03 seconds

PHP recursive function

15 minutes01 seconds

PHP loads custom function library

18 minutes44 seconds

New features of PHP5.3 anonymous functions

13 minutes42 seconds

The concept of PHP closure function (closure)

14 minutes25 seconds

Characteristics of PHP closure function (closure)

17 minutes15 seconds

Overview of PHP arrays

14 minutes30 seconds

Basic concepts and classification of PHP arrays

14 minutes22 seconds

Features of PHP array declarations

14 minutes29 seconds

PHP indexes and associative arrays and details to pay attention to

14 minutes56 seconds

PHP uses array() to declare arrays

11 minutes57 seconds

PHP application example of deleting values ​​in an array (monkey chooses the king)

20 minutes49 seconds

PHP two-dimensional array

13 minutes32 seconds

PHP multidimensional array

14 minutes18 seconds

Iterate through an array using a for loop

15 minutes03 seconds

Iterate over an array using foreach statement

13 minutes29 seconds

Application of traversing array using foreach statement

13 minutes11 seconds

Syntax structure of list() function

16 minutes48 seconds

Characteristics of each() function

13 minutes51 seconds

Traverse arrays using list(), each(), and while loops

11 minutes59 seconds

Traverse an array using the array's internal pointer control function

09 minutes50 seconds

Overview of PHP superglobal arrays (predefined variables)

14 minutes00 seconds

Server variable $_SERVER and environment variable $_ENV

13 minutes34 seconds

Introduction to PHP superglobal array 1

17 minutes39 seconds

Introduction to PHP superglobal array 2

13 minutes58 seconds

Classification of commonly used array functions in PHP

15 minutes52 seconds

Functions related to key-value search in PHP array 1

13 minutes46 seconds

Functions related to key-value search in PHP array 2

14 minutes21 seconds

Functions related to key-value search in PHP array 3

13 minutes38 seconds

Function to count the number and uniqueness of array elements in PHP array

11 minutes19 seconds

PHP uses callback function to process array function array_filter()

12 minutes08 seconds

PHP uses callback function to process array function array_walk()

16 minutes18 seconds

PHP uses callback function to process array function array_map()

11 minutes37 seconds

Bubble (bubble) sort algorithm in PHP

18 minutes16 seconds

The principle of PHP binary method for quick sorting

12 minutes44 seconds

Use PHP program to further understand quick sort method

17 minutes57 seconds

PHP array sorting function 1

14 minutes52 seconds

PHP array sorting function 2

08 minutes25 seconds

PHP array sorting function 3

13 minutes52 seconds

PHP multidimensional array sorting function

14 minutes55 seconds

PHP split, merge, decompose and combine array functions 1

13 minutes21 seconds

PHP split, merge, decompose and combine array functions 2

13 minutes17 seconds

PHP array and data structure functions

12 minutes18 seconds

Other useful array processing functions in PHP

12 minutes41 seconds

Detailed explanation of PHP object-oriented process

14 minutes13 seconds

Detailed explanation of object-oriented programming ideas in PHP object-oriented

16 minutes08 seconds

Important advantages and case analysis of PHP object-oriented

14 minutes34 seconds

Relationship between PHP classes and objects

12 minutes56 seconds

How to abstract a class in PHP

14 minutes03 seconds

Member properties and member methods in PHP classes

15 minutes34 seconds

PHP instantiated object

15 minutes26 seconds

PHP drawing understands the form of objects in memory

15 minutes39 seconds

Special object reference "$this"

15 minutes35 seconds

PHP constructor

13 minutes18 seconds

PHP destructor method

17 minutes17 seconds

Review previous object-oriented knowledge

12 minutes21 seconds

PHP object-oriented encapsulation 1

15 minutes55 seconds

PHP object-oriented encapsulation 2

15 minutes43 seconds

PHP object-oriented encapsulation magic method 1

16 minutes43 seconds

PHP object-oriented encapsulation magic method 2

12 minutes30 seconds

Inheritance of PHP classes

15 minutes59 seconds

Access type control for PHP classes

21 minutes28 seconds

Overloading (overriding) in PHP inheritance

20 minutes55 seconds

PHP common keywords

16 minutes06 seconds

Use of static keyword 1

16 minutes09 seconds

Use of static keyword 2

16 minutes38 seconds

Monomorphic (single case, singleton) design pattern

17 minutes53 seconds

const keyword

12 minutes31 seconds

Magic method__toString()

14 minutes22 seconds

Magic method __clone()

14 minutes06 seconds

Magic method __call()

13 minutes45 seconds

Object serialization (serialization) 1

16 minutes54 seconds

Object serialization (serialization) 2

17 minutes46 seconds

Serialization of PHP arrays (JSON format)

14 minutes08 seconds

Magic method __set_state()

17 minutes37 seconds

New magic methods added after 5.3

09 minutes28 seconds

Automatic loading class__autoload()

14 minutes42 seconds

PHP abstract methods and abstract classes 1

15 minutes27 seconds

PHP abstract methods and abstract classes 2

16 minutes42 seconds

PHP object-oriented interface technology

12 minutes49 seconds

Some details of PHP interface application

15 minutes41 seconds

Attribute polymorphism of PHP object-oriented objects

15 minutes11 seconds

Application examples of PHP polymorphism

14 minutes57 seconds

PHP graphing calculator requirements analysis

13 minutes45 seconds

PHP graphing calculator function design

13 minutes19 seconds

Implementation of the main program of PHP graphing calculator

13 minutes32 seconds

Steps and code of the main program of PHP graphing calculator

19 minutes00 seconds

PHP graphing calculator main program completes verification

17 minutes03 seconds

Class-related magic constants and functions

14 minutes03 seconds

Overview of PHP namespaces

15 minutes19 seconds

PHP defines subnamespace

15 minutes59 seconds

PHP defines multiple namespaces in the same file

12 minutes40 seconds

PHP namespaces and dynamic language features

11 minutes47 seconds

PHP uses namespaces: alias import

14 minutes53 seconds

String processing method 1

15 minutes13 seconds

String processing method 2

14 minutes54 seconds

Commonly used string output functions 1

16 minutes31 seconds

Commonly used string output functions 2

13 minutes59 seconds

Remove spaces, string padding and case conversion functions

14 minutes32 seconds

String formatting functions related to HTML tags

18 minutes20 seconds

String formatting function

16 minutes08 seconds

String comparison function

18 minutes49 seconds

String interview questions 1

17 minutes49 seconds

String interview question 2

16 minutes00 seconds

String interview question 3

18 minutes19 seconds
Chapter4PHP regular expression

Select PHP regular expression processing function library

16 minutes01 seconds

Introduction to regular expression syntax 1

12 minutes18 seconds

Introduction to regular expression syntax 2

13 minutes40 seconds

Atom 1 in regular expressions

13 minutes54 seconds

Atom 2 in regular expressions

16 minutes32 seconds

Metacharacters in regular expressions 1

15 minutes10 seconds

Metacharacters in regular expressions 2

12 minutes24 seconds

Parentheses in metacharacters in regular expressions

17 minutes53 seconds

Pattern modifier (single character) 1

13 minutes30 seconds

Pattern modifier (single character) 2

16 minutes40 seconds

How to write your own regular expression (url)

15 minutes56 seconds

Write email regular expression

12 minutes59 seconds

Matching and searching of strings (strstr, strpos, substr)

15 minutes37 seconds

String matching and search (preg_match)

17 minutes17 seconds

String matching and search (preg_match_all and preg_grep)

12 minutes15 seconds

String splitting and joining (explode, implode join, preg_split)

15 minutes15 seconds

String replacement (str_replace)

14 minutes30 seconds

String replacement (preg_replace)1

15 minutes39 seconds

String replacement (preg_replace)2

14 minutes15 seconds

Other regular functions in strings

15 minutes56 seconds

String comparison function

18 minutes49 seconds
Chapter5PHP basic knowledge expansion

Error reporting and setting levels

18 minutes11 seconds

Customize PHP error reporting handling

13 minutes48 seconds

Set up error log

18 minutes09 seconds

PHP exception handling 1

18 minutes32 seconds

PHP exception handling 2

10 minutes55 seconds

Custom exception class

11 minutes55 seconds

Catching multiple exceptions

19 minutes14 seconds

Applying date and time in PHP1

15 minutes45 seconds

Apply date and time in PHP 2

14 minutes25 seconds

PHP calendar core program writing

20 minutes34 seconds

File system overview

17 minutes57 seconds

File properties

22 minutes54 seconds

Parse directory path

23 minutes20 seconds

Traverse directory

16 minutes07 seconds

Count the number and size of items in the directory

17 minutes46 seconds

Create and delete directories

16 minutes06 seconds

Copy and move directories

12 minutes37 seconds

Some basic operation functions of files

16 minutes08 seconds

Opening and closing files

16 minutes53 seconds

File content operations

20 minutes03 seconds

Simple message board

18 minutes44 seconds

File locking mechanism

15 minutes19 seconds

File upload settings

16 minutes47 seconds

File upload processing

21 minutes34 seconds

Handle multiple file uploads

16 minutes42 seconds

File upload class

19 minutes06 seconds

Download Document

17 minutes19 seconds

Use of GD library in PHP

12 minutes24 seconds

Drawing using GD library

18 minutes42 seconds

Drawing using GD library

18 minutes39 seconds

Draw a clock

22 minutes47 seconds

Design verification code class

14 minutes45 seconds

Writing verification code class 1

14 minutes40 seconds

Writing verification code class 2

17 minutes05 seconds

Complete verification code category

22 minutes22 seconds

Picture background management

19 minutes56 seconds

Image scaling and cropping

15 minutes53 seconds

Add image watermark

19 minutes11 seconds

Image rotation and flipping

21 minutes14 seconds

Image processing class

19 minutes03 seconds

Review database

21 minutes11 seconds

Use of phpMyAdmin

15 minutes24 seconds

php access MySQL

15 minutes25 seconds

Operating MySQL database in PHP script 1

16 minutes53 seconds

Operating MySQL database in PHP script 2

22 minutes46 seconds

Operating MySQL database in PHP script 3

17 minutes04 seconds

Manipulate MySQL database in PHP script 4

17 minutes19 seconds

Pagination requirement analysis

15 minutes28 seconds

Writing paging in paging class

13 minutes44 seconds

Writing list pages in paging class

18 minutes37 seconds

Optimization of pagination class

27 minutes36 seconds

"Explanation of PHP" The use of paging class

23 minutes01 seconds

Library management needs analysis

14 minutes53 seconds

add book

18 minutes34 seconds

Book list

14 minutes47 seconds

Modify book

15 minutes08 seconds

Delete book

16 minutes53 seconds

Upload book cover

18 minutes49 seconds

Modify book cover

16 minutes29 seconds

Book list pagination

13 minutes50 seconds

Multiple searches plus paging

24 minutes10 seconds

Database abstraction layer PDO

22 minutes20 seconds

Create PDO object

21 minutes01 seconds

PDO connection-related options

15 minutes59 seconds

PDO error handling mode

15 minutes25 seconds

Execute SQL statements using PDO

14 minutes45 seconds

PDO transaction processing

20 minutes34 seconds

PDO support for prepared statements

17 minutes45 seconds

Using PDO to prepare statements and execute statements 1

16 minutes55 seconds

Prepare statement using PDO and execute statement 2

14 minutes41 seconds

PDO preprocessing query 1

15 minutes05 seconds

PDO preprocessing query 2

14 minutes40 seconds

Using PDO to access big data objects

15 minutes29 seconds

memcache application instructions

11 minutes33 seconds

How memcache works

17 minutes43 seconds

memcache installation

17 minutes18 seconds

Common command operations of Memcache

13 minutes50 seconds

PHP memcache function extension module installation

14 minutes48 seconds

Operating memcache in PHP

18 minutes51 seconds

Set up distributed memcache access in PHP 1

15 minutes03 seconds

Set up distributed memcache access in PHP 2

16 minutes02 seconds

http protocol and the essence of the web 1

15 minutes23 seconds

http protocol and the essence of the web 2

18 minutes15 seconds

http protocol and the essence of the web 3

18 minutes05 seconds

Session control overview

17 minutes19 seconds

Session Control Cookie Overview

17 minutes05 seconds

Cookie operations

24 minutes41 seconds

Cookie application 1

13 minutes27 seconds

Cookie application 2

20 minutes49 seconds

How session control session works

15 minutes59 seconds

Application of session

22 minutes48 seconds

session configuration options

21 minutes21 seconds

sessoion automatic garbage collection mechanism

17 minutes18 seconds

Pass session id based on url

17 minutes07 seconds

Mail system example 1

13 minutes11 seconds

Mail system example 2

22 minutes39 seconds

Custom session storage mechanism

15 minutes40 seconds

How to customize session processing 1

18 minutes08 seconds

How to customize session processing 2

21 minutes04 seconds

Custom session class

13 minutes24 seconds

Use database to store session information 1

17 minutes00 seconds

Use database to store session information 2

20 minutes15 seconds

Use database to store session information 3

21 minutes37 seconds

Use memcache to store sessions

14 minutes56 seconds

What is a template engine

17 minutes50 seconds

Custom template engine class 1

13 minutes57 seconds

Custom template engine class 2

20 minutes14 seconds

Use a custom template engine

19 minutes32 seconds

Choose Smarty template engine

15 minutes43 seconds

Smarty installation and initialization example 1

16 minutes50 seconds

Smarty installation and initialization example 2

20 minutes35 seconds

What do you need to learn about Smarty?

13 minutes51 seconds

Variable application in templates

15 minutes43 seconds

Read variables from configuration file

16 minutes03 seconds

Use reserved variables in templates

14 minutes51 seconds

Variable adjuster (modifier)

15 minutes58 seconds

Variable adjusters and applications

17 minutes13 seconds

Use registerPlugin to register variable regulators

13 minutes34 seconds

Use plugins to register variable regulators

15 minutes41 seconds

Functions in smarty

12 minutes07 seconds

Built-in functions in smarty

15 minutes20 seconds

Custom functions in smarty

21 minutes21 seconds

Example of custom function plug-in in smarty

14 minutes31 seconds

Use of built-in functions in smarty

11 minutes55 seconds

smarty variable declaration

12 minutes11 seconds

smarty process control

10 minutes45 seconds

for, while loop in smarty

11 minutes22 seconds

{function} tag in smarty

11 minutes58 seconds

foreach in smarty2

13 minutes31 seconds

foreach in smarty3

14 minutes22 seconds

section in smarty

17 minutes03 seconds

smarty template inheritance

17 minutes04 seconds

Static page plus pagination

19 minutes34 seconds

Control caching in smarty

17 minutes45 seconds
  • CancelreplySending
  • Cancelpost a noteSending