php concise tutorial
Classify:php e-bookViews:3111847Download:301
A brief tutorial on PHP programming
Table of contents
Preface . 4
Chapter 1 Introduction to PHP .... 6
Section 1 Introduction to PHP .. 6
1. How Web programs work... 6
2. Introduction to PHP .... 9
Section 2 Setting up the PHP development environment... 9
1. Programming, selection of software development tools .. 9
2. Installation and configuration of server software 10
Section 3 Experiment 1 Construction of PHP development environment . 11
0. Experiment purpose... 11
1. Experiment preparation... 12
2. PHP installation and configuration . 12
3.Apache installation and configuration. 12
4. Test Apache’s support for PHP.... 13
5. Installation of MySQL software and startup of services. 14
Chapter 2 Web Client Technology 16
Section 1 Working Principle of Web Client 16
1. How the browser works . 16
2.How HTML works . 16
3. How JavaScript works... 20
Section 2 Basic Technology of Web Client 21
Section 3 Experiment 2 Web Client Technology .... 34
Chapter 3 PHP Syntax .. 36
Section 1 Basic Grammar 36
1. The simplest PHP program 36
2. Analyze the simplest PHP program .. 37
3. Commonly used variable processing functions .. 37
4. Methods to access client variables.... 40
5. Scope of PHP variables . 41
6. Super global variable array . 41
7. Data type... 43
8.Operator .. 47
9. Function . 48
10. Application of session 51
Section 2 PHP Programming Essentials .. 53
1. Process control structure 53
2. PHP embedded in HTML or JavaScript.... 53
3. Use PHP to output HTML or JavaScript 55
4. Self-service program.... 56
Section 3 Experiment 2 PHP syntax experiment... 57
Chapter 4 MySQL Database... 58
Section 1 Basic use of MySQL .. 58
1. Basic knowledge of database . 58
2.Introduction to MySQL .. 58
3.MySQL command operations 58
4.MySQL graphical client tool software . 61
Section 2 Using PHP to control MySQL . 62
1.PHP data type: resource type... 62
2. Functions in PHP used to manipulate MySQL database. 63
3. PHP controls MySQL instance .. 67
4. Common column types in MySQL . 68
5. Operators and functions used in queries . 70
Section 3 Experiment 4 MySQL Experiment 77
1. MySQL basic command exercises . 77
2.Use phpMyAdmin .. 79
Chapter 5 Web Software Development .... 80
Section 1 System Analysis and System Design 80
1. User needs... 80
2. System analysis and design . 81
Section 2 System Implementation and System Testing 89
Section 3 Experiment... 89
Statement:

All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn

Latest courses

See more
  • [Web front-end] Node.js quick start
    [Web front-end] Node.js quick start
    This course is specially designed for beginners and aims to help students quickly master the basic knowledge and core technologies of Node.js. The course starts with the installation and environment configuration of Node.js, and gradually analyzes its asynchronous programming model, module system and event-driven mechanism in depth. Through a wealth of practical cases, students will learn how to use Node.js to build an efficient and stable web server, process HTTP requests and responses, and perform file operations and database interactions. In addition, the course will also introduce typical application scenarios of Node.js in front-end development, helping students quickly improve their practical capabilities and easily cope with the challenges of front-end development.
  • Complete collection of foreign web development full-stack courses
    Complete collection of foreign web development full-stack courses
    This course is a comprehensive tutorial covering HTML, CSS, JavaScript, Vue.js, React, Flutter and mobile APP development. From basic web page production to complex front-end and back-end interactions, to practical development of mobile applications, the courses are rich in content and highly practical. Through a series of practical projects, students will gain an in-depth understanding of and master various development skills and quickly grow into full-stack development engineers. Both beginners and experienced developers can benefit from it. Through the study of this course, you will have the ability to independently develop web applications and mobile applications, laying a solid foundation for future career development.
  • Go language practical GraphQL
    Go language practical GraphQL
    This course is designed to help learners master how to use Go language to implement GraphQL services. The course starts with the basic knowledge of GraphQL, and deeply analyzes the characteristics and advantages of its data query language. Then, combined with the characteristics of the Go language, it explains in detail how to build a GraphQL server, process requests, define data patterns, etc. Through rich practical cases, learners will learn how to integrate GraphQL in actual projects to improve the flexibility and efficiency of data interaction. The course is suitable for developers with a certain foundation in Go language and is a must-have for building efficient and modern APIs.
  • 550W fan master learns JavaScript from scratch step by step
    550W fan master learns JavaScript from scratch step by step
    This course is specially designed for beginners and is taught by Google bosses. The course starts from the basic knowledge of JavaScript and gradually deepens, covering syntax, functions, objects, event processing, etc. Through vivid cases and practical exercises, students can quickly master the core skills of JavaScript. The boss will personally answer students' questions and share programming experience, allowing students to grow into JavaScript masters in a relaxed and pleasant atmosphere. Whether you are a novice at programming or a developer looking to improve your skills, this course will be your best choice for learning JavaScript.
  • Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    This course takes you on a programming journey. Starting from scratch, this 6-hour course will guide you through the fundamentals and advanced concepts of Python. Whether you're a beginner or an experienced programmer looking to improve your skills, Mosh's in-depth explanations and clear teaching methods will get you up to speed with Python quickly. Learn more about variables, data types, conditionals, loops, functions, objects, and modules and solidify your understanding with hands-on exercises. This course is ideal for learning Python and preparing you for a variety of career fields. Mosh's expertise and passion for education will give you the confidence to start on your path to becoming a proficient Python developer.