00_0672329166_fm.qxd
9/3/08
1:14 PM
Page iii
PHP and MySQL Web Development ®
Fourth Edition
00_0672329166_fm.qxd
9/3/08
1:14 PM
Page iv
00_0672329166_fm.qxd
9/3/08
1:14 PM
Page v
PHP and MySQL Web Development ®
Fourth Edition
Luke Welling Laura Thomson
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City
00_0672329166_fm.qxd
9/3/08
1:14 PM
Page vi
PHP and MySQL® Web Development, Fourth Edition Copyright © 2009 by Pearson Education, Inc. All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. Library of Congress Cataloging-in-Publication Data Welling, Luke, 1972PHP and MySQL Web development / Luke Welling, Laura Thomson. -- 4th ed. p. cm. ISBN 978-0-672-32916-6 (pbk. w/cd) 1. PHP (Computer program language) 2. SQL (Computer program language) 3. MySQL (Electronic resource) 4. Web sites--Design. I. Thomson,
Acquisitions Editor Mark Taber Development Editor Michael Thurston Managing Editor Patrick Kanouse Project Editor Jennifer Gallant Copy Editor Barbara Hacha Indexer Tim Wright Proofreader Kathy Ruiz Technical Editor Tim Boronczyk Publishing Coordinator Vanessa Evans
Laura. II. Title. QA76.73.P224W45 2008 005.2'762--dc22 2008036492 Printed in the United States of America
Multimedia Developer Dan Scherf
First Printing: September 2009
Book Designer Gary Adair
ISBN-10: 0-672-32916-6 ISBN-13: 978-0-672-32916-6
Composition Bronkella Publishing
Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Pearson Education, Inc. cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.
Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD-ROM or programs accompanying it.
Bulk Sales Pearson Education, Inc. offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact U.S. Corporate and Government Sales 1-800-382-3419
[email protected] For sales outside the U.S., please contact International Sales
[email protected]
00_0672329166_fm.qxd
9/3/08
1:14 PM
Page vii
❖ To our Mums and Dads ❖
00_06723