PHP and MySQL
Home > Computing and Information Technology > Graphical and digital media applications > Web graphics and design > PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)
PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)

PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

"The expertise, thought, and effort that go into each book are obvious, and I sincerely appreciate your efforts. Keep up the wonderful work!" - Tracey Moore (Memphis, TN). Welcome to the only guidebook series that takes a visual approach to professional-level computer topics. Open the book and you will discover step-by-step screen shots that demonstrate over 140 key techniques using PHP and MySQL, including: configuring Apache to process PHP code; working with character strings; creating, sorting, and comparing arrays; defining and using functions; finding and replacing substrings; querying databases and retrieving data; stopping and starting the MySQL server; adding dynamic check boxes; sending new Web pages to a browser. High-resolution screen shots demonstrate each task. Succinct explanations walk you through step-by-step and two-page lessons break big topics into bite-sized modules. "Apply It" and "Extra" sidebars highlight useful tips.

Table of Contents:
HOW TO USE THIS BOOK. 1 SETTING UP YOUR DEVELOPMENT ENVIRONMENT. Introducing Dynamic Web Sites. Set Up Your Development Environment. Obtain Apache. Install Apache. Obtain MySQL. Install MySQL. Configure MySQL. Install MySQL Administration Programs. Create MySQL Accounts for Use in PHP Scripts. Obtain PHP. Install PHP. Configure Apache to Process PHP Code. Configure PHP. Test Your Development Environment. 2 LEARNING PHP BASICS. How PHP Works. Add PHP Code to a Web Page File. Using PHP Statements. Understanding PHP Output Statements. Using PHP Variables. Using PHP Constants. Work with Numbers. Work with Character Strings. Work with Dates and Times. Modify or Remove Variables. Using Variable Variables. Understanding Error Messages. Add Comments to a Script. 3 USING ARRAYS. Create an Array. Modify or Remove an Array. Get Information about an Array. Sort an Array. Walk through an Array with foreach. Walk through an Array Manually. Find Values in an Array. Compare Arrays. Split and Merge Arrays. Convert an Array into a String and Vice Versa. Store a Set of Variables in an Array. Store Array Elements in Separate Variables. Create a Multidimensional Array. Walk through a Multidimensional Array. Using Built-in PHP Arrays. 4 CONTROLLING THE FLOW OF THE SCRIPT. Change the Order of Statement Execution. Check the Contents of a Variable. Set up Conditions with Comparison Operators. Introducing Regular Expressions. Match Character Strings to Patterns Using Regular Expressions. Join Multiple Comparisons with Logical Operators. Using an if Statement. Using a switch Statement. Using a for Loop. Using a while Loop. Using a do-while Loop. Avoid an Infinite Loop. Break Out of a Loop. 5 REUSING PHP CODE. Include a Code File. Configure the Path to the include Files. Include Files Automatically. Store include Files Securely. Define and Use a Function. Using Variables in a Function. Pass Values to a Function. Return Values from a Function. 6 SOME USEFUL PHP BUILT-IN FUNCTIONS. Format a Number. Round a Number. Find the Largest or Smallest Number. Remove Leading and Trailing Blank Spaces. Change the Case of a String. Format a String. Count the Characters or Substrings in a String. Locate a Substring in a String. Get a Substring. Find and Replace Substrings. Add a Substring to a String. Using Regular Expressions to Replace Text. Pad or Repeat a String. Convert a Character to and from an ASCII Value. Compare Strings. Convert a String into an Array. Send an Email Message. Send an HTTP Header. Read Configuration Settings. Set a Local PHP Configuration Option. 7 USING MYSQL DATABASES. How a MySQL Database Works. Send a Query with the mysql Client. Send a Query with the MySQL Query Browser. Create, Select, or Remove a MySQL Database. Define a MySQL Table. Create and Remove a MySQL Table. Modify the MySQL Table Structure. Add a Row of Data to a Database. Add Data from a Text File to a Database. Store Incremental Values in a Column. Retrieve Data from a Database. Limit Query Execution to Specific Rows with a WHERE Clause. Retrieve Data from Multiple Tables with UNION. Retrieve Data from Multiple Tables by Joining Tables. Update Data in a Database. Remove Data from a Database. Query a MySQL Database from a PHP Script. Display Database Data on a Web Page in a PHP Script. Handle MySQL Errors. 8 ADMINISTERING MYSQL DATABASES. Understanding MySQL Accounts. View Existing Accounts. Create a MySQL Account. Change the Password of a MySQL Account. Add and Remove Privileges. Change the Name of a MySQL Account. Remove a MySQL Account. Stop and Start the MySQL Server. Using MySQL Logs. Back Up Data. Restore Data. Upgrade MySQL. 9 ADDING HTML FORMS TO A WEB PAGE. Display an HTML Form. Add a Text Field. Add a Multiline Text Area. Add a Hidden Field. Add a Dynamic Selection List to a Form. Add a Date Selection List. Add Dynamic Radio Buttons. Add Dynamic Check Boxes. Create One or More Submit Buttons. Choose the POST or GET Method for a Form. Create a Form That Uploads a File. 10 PROCESSING DATA FROM FORMS. Process Information from a Form. Display Data from a Form. Display and Process a Form in One Script. Check for Blank Fields. Verify Form Data. Clean Form Data. Add Form Data to a Database. Insert Form Data into a Database. Update or Remove Database Data. Process an Uploaded File. 11 MANAGING USER SESSIONS. Understanding User Sessions. Send a New Web Page to the Browser. Add Information to a URL. Store Information in Cookies. Store Information in a PHP Session. Using PHP Sessions without Cookies. 12 OBJECT-ORIENTED PROGRAMMING IN PHP. Understanding Object-Oriented Programming. Create and Use an Object. Set Properties in a Class. Add Methods to a Class. Write a Constructor or a Destructor Method. Using PHP Magic Methods to Get or Set Properties. Using Inheritance in a Class. Using Exceptions. Copy and Compare Objects. Get Information about Objects and Classes. Using Abstract Classes. Using Interfaces. APPENDIX A: PROGRAMMING EDITORS AND IDES FOR PHP. APPENDIX B: TROUBLESHOOTING TIPS. INDEX.

About the Author :
Janet Valade has 20 years experience in the computing field. Her background includes experience as a technical writer for several companies, as a Web designer/programmer for an engineering firm, and as a systems analyst in a university environment where, for over 10 years, she supervised the installation and operation of computing resources, designed and developed a statewide data archive, provided technical support to faculty and staff, wrote numerous technical papers and documentation, and designed and presented seminars and workshops on a variety of technology topics. Janet currently has four published books - PHP & MySQL For Dummies, Second Edition, PHP 5 For Dummies, PHP & MySQL Everyday Apps For Dummies, and Spring into Linux, and has coauthored Master VISUALLY Dreamweaver 8 and Flash 8. In addition, she has authored chapters for several Linux and Web development books.


Best Sellers


Product Details
  • ISBN-13: 9780470048399
  • Publisher: John Wiley and Sons Ltd
  • Publisher Imprint: John Wiley & Sons Ltd
  • Height: 233 mm
  • Returnable: N
  • Spine Width: 19 mm
  • Weight: 627 gr
  • ISBN-10: 0470048395
  • Publisher Date: 12 Sep 2006
  • Binding: Paperback
  • Language: English
  • Series Title: Visual Blueprint
  • Sub Title: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites
  • Width: 188 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)
John Wiley and Sons Ltd -
PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

PHP and MySQL: Your Visual Blueprint for Creating Dynamic, Database-driven Web Sites(Visual Blueprint)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!