分享
 
 
 

PHP & MySQL:为创建动态的数据库驱动的网站而展现的视觉蓝图 PHP & MySQL

PHP & MySQL:为创建动态的数据库驱动的网站而展现的视觉蓝图 PHP & MySQL  点此进入淘宝搜索页搜索
  特别声明:本站仅为商品信息简介,并不出售商品,您可点击文中链接进入淘宝网搜索页搜索该商品,有任何问题请与具体淘宝商家联系。
  參考價格: 点此进入淘宝搜索页搜索
  分類: 图书,计算机/网络,程序设计,PHP,

作者: Janet Valade著

出 版 社: John Wiley & Sons

出版时间: 2007-8-1字数:版次: 1页数: 307印刷时间: 2006/09/01开本:印次:纸张: 胶版纸I S B N : 9780470048399包装: 平装编辑推荐

作者简介:

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.

内容简介

"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 amd 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

Extra / Apply It

* High-resolution screen shots demonstrate each task

* Succinct explanations walk you through step-by-step

* Two-page lessons break big topics into bite-sized modules

* "Apply It" and "Extra" sidebars highlight useful tips

目录

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.

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有