PHP 5/MySQL Programming- P93 ppsx

5 224 0
PHP 5/MySQL Programming- P93 ppsx

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

Thông tin tài liệu

tables (continued) data normalization, 363–366 limiting columns, 324–325 rows, 325–327 phpMyAdmin creating, 317–318 editing data, 318 exporting data, 319–322 SELECT command, 312–313, 323–324 spy database, 367–372 superHTML, 239–241, 245–248 UPDATE command, 327–328 tag() function, 236–237, 263–264 tags adding, 236–237, 263–264 div and span, 281, 282 XML, 291–292 takeQuiz program, 220–222 testing servers, 7–8 test values, 312 text adding, 235–237 printing, 26 text box building, 267 data storage, 116–117 superHTML, 243–244 textbox() function, 243–244, 267 text files determining format, 201 examining code, 201–202 loading data, 202–203 mailMerge program, 200–203 splitting function, 3 thePage property, 260, 261–262 third normal form, 365–366 This Old Man program combining arrays and loops, 111–113 creating functions, 79–80 examining, 77–79 param program, 80–82 three of a kind, 128 tip of the day, 2–3, 18–19 title property, 233–235, 260, 261 top of Web page, 262 tracking user’s situation, 88 trimming strings, 157 tRow() ffunction, 241 tToAdd() function, 404–405, 422, 425, 426 tToEdit() function, 401, 402, 410–413, 413–415 two-dimensional arrays, 241, 265–266 U update record module, 391, 402–403, 420–422 UPDATE statement, 327–328, 356, 422 URLs, 38–40 user-contributed content, 274 username, database, 338 useer’s perspective, 279–280 user’s response, 223–224 user’s situation, tracking, 88 V value, variables assigning, 26, 32 borderMaker program, 43 multiple binary dice program, 66–68 else if clauses, 68 working with, 66 VARCHAR fields, 309, 400 variables $list, 137 creating inside functions, 84 database connection, 346, 354 defined, 23 global, 86 Hi Jacob program, 23–25 interpolation, 58 library module, 407–408 managing scope, 85–87 multi-line, creating, 29–30 naming conventions, 106, 198, 199 numeric assigning values, 32 mathematical operators, 32–33 ThreePlusFive program, 30–32 types, 30 printing value, 26 Row Your Boat page, 28–29 string, 25–26 superHTML object, 231–232 using semicolons, 27 value assigning, 26, 32 borderMaker program, 43 multiple, 66–68 var keyword, 251 view query module, 391, 399–401 view source command, 24 438 I n d e x W w+ file access modifier, 188 WAMP (Windows, Apache, MySQL, and PHP), 5 Web servers connections, 316–317 functions, 5 programming on, 3–4 testing, 7–8 WHERE clause, 325–326, 374–375 whille loops building continue conditions, 107 exit condition, 107 sentry variable, 106–107 endless loops, 105–106 repeating code, 103–105 wordFindKey program, 178–179 word find program, 160–161 word search program, 134–135, 154 adding foil letters, 175–176 adding words, 168–174 character values, 172–173 East code, 171–172 printing, 173–174 building main logic, 163–164 character generation, 159–160 clearing board, 165–166 empty data sets, 162 filing board, 166–168 getting puzzle data, 160–161 making puzzle board, 174–175 parsing word list, 164–165 printing answer key, 178–179 puzzle, 176–178 response page setup, 161–162 write access, 188, 189 writeQuiz program, 215–220 X XML (eXtensible Markup Language), 271 data extraction, 297–298 introduction, 285–287 main page, 287 menu pages, 288 more-complex model, 293–296 parsers, 288–289 simple model, 289–293 table creation, 320–321 439 I n d e x Let’s face it. C++, ASP, and Java can be a little intimidating. But now they don’t have to be. The for the absolute beginner series gives you a fun, non-intimidating introduction to the world of programming. Each book in this series teaches a specific programming language using simple game programming as a teaching aid. If you are new to programming, want to learn, and want to have fun, then Premier Press’s for the absolute beginner series is just what you’ve been waiting for! ASP Programming for the Absolute Beginner ISBN 0-7615-3620-5 C Programming for the Absolute Beginner ISBN 1-931841-52-7 C++ ® Programming for the Absolute Beginner ISBN 0-7615-3523-3 Java ™ Programming for the Absolute Beginner ISBN 0-7615-3522-5 Microsoft ® Access VBA Programming for the Absolute Beginner ISBN 1-59200-039-8 Microsoft ® Visual Basic.NET Programming for the Absolute Beginner ISBN 1-59200-002-9 Palm ™ Programming for the Absolute Beginner ISBN 0-7615-3524-1 Python Programming for the Absolute Beginner ISBN 1-59200-073-8 Microsoft ® WSH and VBScript Programming for the Absolute Beginner ISBN 1-59200-072-X Microsoft ® Windows ® Shell Script Programming for the Absolute Beginner ISBN 1-59200-085-1 Professional ■ Trade ■ Reference Call 1.800.354.9706 to order Order online at www.courseptr.com Call 1.800.354.9706 to order Order online at www.courseptr.com Check out the Beginning series from Course PTR—full of tips and techniques for the game developers of tomorrow! Perfect your programming skills and create eye-catching art for your games to keep players coming back for more. Check out advanced books and the full Game Development series at W W W.COURSEP T R.COM / GAMEDE V Beginning C++ Game Programming ISBN: 1-59200-205-6 $29.99 Beginning DirectX 9 ISBN: 1-59200-349-4 $29.99 Beginning OpenGL Game Programming ISBN: 1-59200-369-9 $29.99 PHP Game Programming ISBN: 1-59200-153-X $39.99 RISE T O T HE TOP OF YOUR GAME WI T H COURSE P TR! Professional ■ Trade ■ Reference License Agreement/Notice of Limited Warranty By opening the sealed disc container in this book, you agree to the following terms and conditions. If, upon reading the following license agreement and notice of limited warranty, you cannot agree to the terms and conditions set forth, return the unused book with unopened disc to the place where you purchased it for a refund. License: The enclosed software is copyrighted by the copyright holder(s) indicated on the software disc. You are licensed to copy the software onto a single computer for use by a single user and to a backup disc. You may not reproduce, make copies, or distribute copies or rent or lease the software in whole or in part, except with written permission of the copyright holder(s). You may transfer the enclosed disc only together with this license, and only if you destroy all other copies of the software and the transferee agrees to the terms of the license. You may not decompile, reverse assemble, or reverse engineer the software. Notice of Limited Warranty: The enclosed disc is warranted by Thomson Course Technology PTR to be free of physical defects in materials and workmanship for a period of sixty (60) days from end user’s purchase of the book/disc combination. During the sixty-day term of the limited warranty, Thomson Course Technology PTR will provide a replacement disc upon the return of a defective disc. Limited Liability: THE SOLE REMEDY FOR BREACH OF THIS LIMITED WARRANTY SHALL CONSIST ENTIRELY OF REPLACEMENT OF THE DEFECTIVE DISC. IN NO EVENT SHALL THOMSON COURSE TECHNOLOGY PTR OR THE AUTHOR BE LIABLE FOR ANY OTHER DAMAGES, INCLUDING LOSS OR CORRUPTION OF DATA, CHANGES IN THE FUNCTIONAL CHARACTERISTICS OF THE HARDWARE OR OPERATING SYSTEM, DELETERIOUS INTERACTION WITH OTHER SOFTWARE, OR ANY OTHER SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES THAT MAY ARISE, EVEN IF THOMSON COURSE TECHNOLOGY PTR AND/OR THE AUTHOR HAS PREVIOUSLY BEEN NOTIFIED THAT THE POSSIBILITY OF SUCH DAMAGES EXISTS. Disclaimer of Warranties: THOMSON COURSE TECHNOLOGY PTR AND THE AUTHOR SPECIFICALLY DISCLAIM ANY AND ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, SUITABILITY TO A PARTICULAR TASK OR PURPOSE, OR FREEDOM FROM ERRORS. SOME STATES DO NOT ALLOW FOR EXCLUSION OF IMPLIED WARRANTIES OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THESE LIMITATIONS MIGHT NOT APPLY TO YOU. Other: This Agreement is governed by the laws of the State of Massachusetts without regard to choice of law principles. The United Convention of Contracts for the International Sale of Goods is specifically disclaimed. This Agreement constitutes the entire agreement between you and Thomson Course Technology PTR regarding use of the software. . tables (continued) data normalization, 363–366 limiting columns, 324–325 rows, 325–327 phpMyAdmin creating, 317–318 editing data, 318 exporting data, 319–322 SELECT command, 312–313,. source command, 24 438 I n d e x W w+ file access modifier, 188 WAMP (Windows, Apache, MySQL, and PHP) , 5 Web servers connections, 316–317 functions, 5 programming on, 3–4 testing, 7–8 WHERE clause, 325–326,. DirectX 9 ISBN: 1-59200-349-4 $29.99 Beginning OpenGL Game Programming ISBN: 1-59200-369-9 $29.99 PHP Game Programming ISBN: 1-59200-153-X $39.99 RISE T O T HE TOP OF YOUR GAME WI T H COURSE P

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

Mục lục

  • PHP 5 / MySQL Programming for the Absolute Beginner

    • Cover

    • Chapter 1: Exploring the PHP Environment

    • Chapter 2: Using Variables and Input

    • Chapter 3: Controlling Your Code with Conditions and Functions

    • Chapter 4: Loops and Arrays

    • Chapter 5: Better Arrays and String Handling

    • Chapter 6: Working with Files

    • Chapter 7: Writing Programs with Objects

    • Chapter 8: XML and Content Management Systems

    • Chapter 9: Using MySQL to Create Databases

    • Chapter 10: Connecting to Databases within PHP

    • Chapter 12: Building a Three-Tiered Data Application

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

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

Tài liệu liên quan