PHP, MySQL, JavaScript HTML5 All-in-One For Dummies doc

724 2.7K 1
PHP, MySQL, JavaScript HTML5 All-in-One For Dummies 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

[...]... beginning, Book I, Chapter 1 Before you know it, you’ll be programming complex and nice-looking websites Occasionally, we have updates to our technology books If this book does have technical updates, they’ll be posted at www .dummies. com/go/ phpmysqljavascripthtml5aioupdates 4 PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies Book I Visit www .dummies. com for great Dummies content online Contents... JavaScript to a page’s HTML 189 Using external JavaScript 190 xvi PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies Chapter 2: Building a JavaScript Program 191 Getting Started with JavaScript Programming 191 Sending an alert to the screen 191 Adding comments 193 Holding data for later in variables 193 Holding multiple values in an array ... Align Form Fields 180 Book III: JavaScript 185 Chapter 1: Understanding JavaScript Basics 187 Viewing the World of JavaScript 187 JavaScript isn’t Java 187 Knowing what JavaScript can do 188 Examining the Ways to Add JavaScript to a Page 188 Adding the JavaScript tag 189 Adding JavaScript to a page’s HTML 189 Using external JavaScript. .. is used The web page itself can be a document stored on your computer, just like a word processing document A program like Microsoft Word knows how to open documents formatted for Microsoft Word In the same way, a web browser knows how to open documents formatted for the web More on this later Web browsers are programmed to read and parse the specially formatted documents known as web pages The web... specific order 505 Retrieving data from specific rows 505 Combining information from more than one table 508 Updating Information in a Database 513 Removing Information from a Database 513 xxii PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies Chapter 5: Communicating with the Database from PHP Scripts 515 Knowing How MySQL and PHP Work Together 515 PHP Functions... Validating Web Forms with JavaScript and PHP 555 Understanding How to Validate Web Forms 555 Always assume bad data 556 Never assume JavaScript 556 Sometimes mirror client- and server-side validation 556 Performing Basic JavaScript Validation 557 Looking at the form HTML and CSS 561 Adding JavaScript validation 563 Table of Contents xxiii Performing PHP... 15 Choosing a web-hosting company 16 Using a hosted website 18 Setting Up Your Local Computer for Development 19 Installing the web server 19 Installing PHP 20 Installing MySQL 20 xii PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies Chapter 2: Installing a Web Server 21 Testing Your Web Server 21 Obtaining... Styling Web Forms 169 Using Web Forms to Get Information 169 Understanding web forms 170 Looking at form elements 170 Creating a Form 172 All about the form element 172 Adding a text input 173 Adding a drop-down box 174 Creating check boxes 176 Using radio buttons 178 Submitting and clearing the form ... book on the Dummies com website so you don’t have to type out long code blocks Point your browser to www .dummies. com/go/code/phpmysqljavascripthtml5aio to download the code samples Icons Used in This Book We use some basic icons throughout this book to help you quickly scan and find useful information and tips Tips provide information for a specific purpose Tips can save you time and effort, so they’re... 298 Removing values from arrays 299 xviii PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies Sorting arrays 299 Getting values from arrays 301 Walking through an array 302 Storing values with multidimensional arrays 305 Using Dates and Times 307 Setting local time 307 Formatting a date 308 Storing a timestamp in a variable . external JavaScript 190 PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies xvi Chapter 2: Building a JavaScript Program 191 Getting Started with JavaScript. PHP, MySQL ® , Javascript ® & HTML5 ALL-IN-ONE by Steve Suehring and Janet Valade PHP, MySQL ® , Javascript ® & HTML5 ALL-IN-ONE PHP,

Ngày đăng: 17/03/2014, 20:21

Từ khóa liên quan

Mục lục

  • PHP, MySQL, JavaScript & HTML5 All-In-One For Dummies

    • About the Authors

    • Dedication

    • Authors’ Acknowledgments

    • Contents at a Glance

    • Table of Contents

    • Introduction

      • About This Book

      • Foolish Assumptions

      • How This Book Is Organized

      • Icons Used in This Book

      • Where to Go from Here

      • CoCnotnetnetns tas ta at aG lGalnacnece

      • Book I: Getting Started with PHP & MySQL

        • Chapter 1: Understanding the Languages of the Web

          • Understanding How the Web Works

          • Understanding Web Page Languages

          • Understanding the Language of Web Servers

          • Choosing How You Want to Develop

          • Setting Up Your Local Computer for Development

          • Chapter 2: Installing a Web Server

            • Testing Your Web Server

            • Obtaining Apache

            • Installing Apache

            • Starting and Stopping Apache

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

Tài liệu liên quan