Pages

Nov 11, 2010

The Visibooks Guide to PHP Basics

The Visibooks Guide to PHP Basics By Paul Gruhn
Visibooks, LLC | 2006 | ISBN: 159706033X | 150 pages | PDF | 10,1 MB

The Visibooks Guide to PHP Basics helps beginners learn to create interactive Web sites using the PHP programming language.

Table of Contents
Learning the Basics ........................................1
Install an FTP program ..........................................................................2
Create a simple script ..........................................................................12
Upload a script .....................................................................................18
Run a script from a Web page.............................................................22
Insert comments...................................................................................26
Format output with HTML....................................................................32
Working with Variables.................................39
Employ single variables ......................................................................41
Print quotation marks ..........................................................................52
Employ lists of variables .....................................................................62
Working with Numbers .................................71
Perform calculations............................................................................72
Increment/decrement ...........................................................................75
Generate random numbers .................................................................78
User Functions ..............................................83
Create a user function.........................................................................84
Pass form inputs to a script................................................................89
Logic & Loops................................................95
Employ conditional logic ....................................................................96
Employ looping.................................................................................. 118
Working With Files.......................................129
Create a text file ................................................................................. 130
Display files........................................................................................ 137
Append to files................................................................................... 140

Download