PHP and MySQL by Example

Pirmais vāks
Prentice Hall Professional, 2006. gada 22. nov. - 912 lappuses
Quickly master dynamic, database-driven Web development–no experience necessary!

Even if you’re completely new to PHP, MySQL, and Web database development, this book will guide you through every step of building powerful, database-driven, dynamic Web sites. Direct from the world’s top scripting instructor, Ellie Quigley, PHP and MySQL by Example illuminates every concept with tested code examples, screen shots showing program output, and clear, line-by-line explanations.

Classroom-tested in Ellie Quigley’s Silicon Valley training courses and at Marko Gargenta’s Marakana training company in San Francisco, this book takes you from the simplest PHP scripting and SQL querying techniques all the way to dynamic, database driven Web site construction with PHP and MySQL. From simple fill-in forms to program security and debugging, it’s the only PHP/MySQL book you’ll ever need!

This book covers

  • Complete PHP fundamentals, including operators, strings, conditionals, loops, arrays, functions, and more
  • PHP QuickStart for more advanced readers–makes you productive with PHP in the space of just fifteen book pages
  • Essential Web development techniques, from file handling to validating user input with regular expressions
  • Powerful PHP features, including user-defined functions and self-processing PHP Forms
  • Day-to-day MySQL administration
  • A complete SQL tutorial for creating queries, retrieving data, and writing data with MySQL
  • Session management and cookies
  • Object Oriented PHP
  • Best practices for using PHP and MySQL together

Nearly 100,000 professionals and power users have relied on Ellie Quigley’s books to master scripting languages. With PHP and MySQL by Example, you can, too. And once you’ve become an expert, you’ll turn to this book constantly as your go-to source for reliable answers, solutions, and code.

Lab Solutions

Solutions to the end-of-chapter labs are available at www.prenhallprofessional.com/title/0131875086.

No grāmatas satura

Saturs

1 Introduction
1
2 Getting Started
13
3 PHP Quick Start
41
Data Types Literals Variables and Constants
59
5 Operators
107
6 Strings
149
7 Conditionals and Loops
221
8 Arrays
247
13 Introduction to MySQL
567
14 SQL Language Tutorial
595
15 PHP and MySQL Integration
647
16 Cookies and Sessions
673
17 Objects
739
Building an Art Gallery
783
PHP and EMail
809
PHP and DateTime
819

9 UserDefined Functions
337
10 More on PHP Forms
379
11 Files and Directories
441
12 Regular Expressions and Pattern Matching
497
Security and Debugging
833
Installation Procedures
849
Index
855
Autortiesības

Citi izdevumi - Skatīt visu

Bieži izmantoti vārdi un frāzes

Populāri fragmenti

882. lappuse - InformIT Online Books, you can select the book you want and view the chapter or section you need immediately. • Cut, paste and annotate. Paste code to save time and eliminate typographical errors. Make notes on the material you find useful and choose whether or not to share them with your work group. • Customized for your enterprise. Customize a library for you, your department or your entire Drganization.
38. lappuse - BETWEEN the dark and the daylight, When the night is beginning to lower, Comes a pause in the day's occupations, That is known as the Children's Hour. I hear in the chamber above me The patter of little feet, The sound of a door that is opened, And voices soft and sweet. From my study I see in the lamplight, Descending the broad hall stair, Grave Alice, and laughing Allegra, And Edith with golden...
33. lappuse - Type the name of a program, folder, document, or Internet resource, and Windows will open it for you. Open: OK Cancel Browse...
3. lappuse - The basic idea behind open source is very simple: When programmers can read, redistribute, and modify the source code for a piece of software, the software evolves. People improve it, people adapt it, people fix bugs. And this can happen at a speed that, if one is used to the slow pace of conventional software development, seems astonishing.
3. lappuse - Free software" is a matter of liberty, not price. To understand the concept, you should think of "free" as in "free speech,
433. lappuse - HTTP_HOST Contents of the Host: header from the current request, if there is one. HTTP_REFERER The address of the page (if any) which refers the browser to the current page.
652. lappuse - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Reilly' MID password=' ' ' at line 1 at passwd.pl line 26.
596. lappuse - Be sure to replace mypassword with something different: ft mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 to server version: 4.0.24_Debian-10-log Type 'help;' or '\h' for help. Type '\c
218. lappuse - In order to test your progress, you should be able to answer the following questions. 1 ) What is the purpose of the USER_ERRORS view?

Par autoru (2006)

Ellie Quigley has taught scripting languages in Silicon Valley for more than twenty years. Her Perl and shell programming classes at the University of Santa Cruz Extension program have become part of Silicon Valley lore. Her best-selling books include UNIX® Shells by Example, Fourth Edition; Perl by Example, Third Edition; and Javascript by Example, all from Prentice Hall.


Marko Gargenta has worked as an e-commerce consultant and instructor since 1996. He has created the Marakana Ecommerce Seminar Series, consulted with Sun Microsystems Educational Services, and designed and delivered PHP and MySQL courses for OpNet Community Ventures and AcademyX. For more on Marko’s training company go to http://marakana.com.

Bibliogrāfiskā informācija