MySQL /PHP Database Applications Second Edition phần 1 doc

82 337 0
MySQL /PHP Database Applications Second Edition phần 1 doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 11 7 PHP’s Built-in Functions 13 3 Writing Organized and Readable Code 19 1 Part III Simple Applications Chapter 8 Chapter 9 Guestbook 2003, the (Semi-)Bulletproof Guestbook 229 Survey 2 61 Part IV Not So Simple Applications Chapter Chapter Chapter Chapter Chapter Chapter Chapter Chapter xii 10 11 12 13 14 15 16 17 ... 11 3 is_int() 11 3 is_double() 11 3 is_string() 11 3 is_array() 11 3 is_bool() 11 3 is_object() 11 4 is_resource() 11 4 is_scalar()... 11 4 gettype() 11 4 Changing Variable Types 11 4 Type casting 11 4 Using settype() 11 5 intval(), doubleval(), and stringval() 11 5 Variable Variables 11 5 Summary 11 6 Control... 10 6 Using Built-In Variables 10 8 PHP variables 10 8 Apache variables 10 9 Other Web server variables 11 1 Testing Variables 11 2 isset() 11 2 empty() 11 2 is_null()... 10 Second normal form 11 Third normal form 13 Types of Relationships 15 The one-to-many relationship 15 The one-to-one relationship 16 The many-to-many relationship 17 Advanced Database Concepts 19 Referential... 11 7 The if Statement 11 7 Determining true or false in PHP 11 8 Comparison operators 12 2 Logical operators 12 3 Complex if statements 12 3 if else statements 12 5 if elseif statements 12 5 switch... 308 xix xx Contents Part IV Not So Simple Applications Chapter 10 Threaded Discussion 311 Chapter 11 Chapter 12 Determining the Scope and Goals of the Application 312 What do you need? 312 What do you need to prevent? 314 The Data 316 Code Overview ... 18 7 Information functions 18 8 Summary 18 9 Writing Organized and Readable Code 19 1 Indenting 19 1 Code blocks 19 2 Function calls 19 4 SQL statements 19 6 Includes ... 17 7 Session functions 17 9 MySQL functions 17 9 HTTP header functions 17 9 Image functions 18 1 Mail function 18 3 URL functions 18 4 Error functions 18 6 Output buffering... 410 Objects in theory 410 Classes 411 Sample script 434 Summary 439 Contents Chapter 13 Chapter 14 Chapter 15 Chapter 16 Problem-Tracking System 4 41 Determining the Scope and Goals of the Application 4 41 What do you need? . alt="" MySQL ® /PHP Database Applications, Second Edition Brad Bulger, Jay Greenspan, and David Wall MySQL ® /PHP Database Applications, Second Edition MySQL ® /PHP Database Applications, Second. Edition MySQL ® /PHP Database Applications, Second Edition Brad Bulger, Jay Greenspan, and David Wall MySQL ® /PHP Database Applications, Second Edition Published by Wiley Publishing, Inc. 10 475 Crosspoint Boulevard Indianapolis,. . . . . . . . . . . . . . . . 2 61 Part IV Not So Simple Applications Chapter 10 Threaded Discussion . . . . . . . . . . . . . . . . . . . . . . 311 Chapter 11 Content-Management System . . .

Ngày đăng: 12/08/2014, 21:20

Từ khóa liên quan

Mục lục

  • MySQL/PHP Database Applications, Second Edition

    • Copyright

    • About the Authors

    • Credits

    • Preface

    • Acknowledgments

    • Contents at a Glance

    • Contents

    • Introduction

    • Part I Working with MySQL

      • 1 Database Design with MySQL

        • Why Use a Relational Database?

        • Blasted Anomalies

          • The update anomaly

          • The delete anomaly

          • The insert anomaly

          • Normalization

            • First normal form

            • Second normal form

            • Third normal form

            • Types of Relationships

              • The one- to- many relationship

              • The one- to- one relationship

              • The many- to- many relationship

              • Advanced Database Concepts

                • Referential integrity

                • Transactions

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan