JavaScript Editor Javascript validator     Website design 



Team LiB
Previous Section Next Section

Index

P

page styles (CSS), 15–19
pages. See files; Web pages
parameters, functions, 100–106
parseList() function, 192–194
parsing, 191–194
passwords
databases, 302
fields, forms, 25
security, 247, 255–256
persistence, data, 137–141
Petals Around the Rose program
building, 109–115
functions, 110–115
overview, 78, 108–109
PHP
case sensitivity, 43
commands
HTML, 32–35
phpInfo(), 34–35
running, 32, 42
support, 32
troubleshooting, 32, 42
<?php ?> HTML tag, 33
PHP Tripod program, 32
phpInfo() command, 34–35
Pig Latin Generator program
building, 184–185
overview, 182–184
pipe bars (|), 229
Poker Dice program
arrays, 141–156
boolean and operator (&&), 155
building, 141–156
check boxes, 144–146
loops, 141–156
overview, 118–119
printing, 146–148, 155–156
post method, 53
preg_grep() function, 228
pre-loading arrays, 133–134
primary keys
spyLib program, 385–386
tables, 273, 335–336
print command, 44
printing, 44
files, 247–249
Poker Dice program, 146–148, 155–156
records, 307–310
Word Puzzle Maker program, 206–209
processing records (spyLib program), 392–393
programming
line termination character, 44–48, 303
server-side, 3
programs
Ace, 81–86
Ace or Not, 86–88
Adventure Generator
building, 291–296
buttons, 311–312
connecting database, 306–307, 310–311
CSS, 310
displaying records, 307–310
editing records, 316–320
list boxes, 321
overview, 264–266
selecting records, 313–316
Show Heros database, 300–302
updating, 321–322
variables, 311, 320
Bad While, 127–129
Basic Array, 130–132
building, 132–133
Binary Dice, 88–91
Border Maker
building, 60–63
overview, 59–60
reading, 63–65
Cartoonifier, 223–225
commenting, 189–190
connecting
servers, 302–303
content management systems, 3
Count by Five, 122–124
Counting Backwards, 124–125
CSS, 310
data persistence, 137–141
designing, 67
Edit Segments, 316–320
files
log, 258–261
opening, 257–258
security, 247, 255–256
Form Reader, 167–170
Hello World, 4–6
Hi Jacob, 41–42
Hi User, 94–97
Image Index, 225–227
file handles, 227
file lists, 227–228
regular expressions, 229–230
saving, 229–231
selecting files, 228
storing, 229–231
List Segments, 313–316
Mail Merge, 231–235
Petals Around the Rose
building, 109–115
functions, 110–115
overview, 78, 108–109
PHP
running, 42
troubleshooting, 42
PHP Tripod, 32
Pig Latin Generator
building, 184–185
overview, 182–184
Poker Dice
arrays, 141–156
boolean and operator (&&), 155
building, 141–156
check boxes, 144–146
loops, 141–156
overview, 118–119
printing, 146–148, 155–156
Quiz Machine
control page, 236–245
editing tests, 245–249
grading tests, 257–260
overview, 212–215, 235–236
taking tests, 255–256
viewing log, 260–261
writing tests, 249–255
Roll Em, 78–80
Row Your Boat, 46–47
Save Sonnet
closing files, 219–220
creating files, 215–217
CSS, 222
loading files, 220–221
opening files, 217–219, 222
reading files, 222
writing files, 219
Scope Demo, 106–108
Spy Master. See also Spy database; spyLib program
connecting database, 360
creating records, 369–370
database queries, 357–358
deleting records, 368–369
edit table form, 361–363
editing records, 366–367
editing tables, 365–366
function library, 356
overview, 348–353
query form, 358–361
state diagram, 354–356
updating records, 367–368
viewing queries, 363–365
spyLib. See also Spy database; Spy Master program
buttons, 394
connecting database, 372–373
creating records, 389–392
CSS, 371
deleting records, 388–389
editing fields, 384–387
editing records, 379–384
foreign keys, 386–387
global variables, 371–372
list boxes, 393–394
primary keys, 385–386
processing records, 392–393
query lists, 373–374
query tables, 374–379
updating records, 387–388
Story, 40
building, 68–74
overview, 66–67
reading, 71–73
Switch Dice, 91–94
text, hiding, 237–238
This Old Man, 97–100
arrays, 134–137
loops, 134–137
parameters, 100–106
returning values, 103–104
Three Plus Five, 48–50
three-tiered architecture, 348
Tip of the Day, 2, 35–36
Word Puzzle Maker
arrays, 190, 204–206
boolean variables, 195–197
commenting, 204
debugging, 193
for loop, 194–195
foreach loop, 193
form, 187–189
hidden fields, 206–208
loop counters, 197
math, 204
overview, 160–161
parsing, 191–194
printing, 206–209
response page, 189–190
strings, 193, 200–206
switch statements, 197–200

Team LiB
Previous Section Next Section


JavaScript Editor Javascript validator     Website design