110 likes | 215 Views
Chapter 1. Introduction to PHP Part 1. strings.php. Script 1.6 on page 19 http://cscdb.nku.edu/csc301/frank/ch01/strings.php ch01 strings.php. concat.php. Script 1.7 on page 21 http://cscdb.nku.edu/csc301/frank/ch01/concat.php ch01 concat .php. numbers.php.
E N D
Chapter 1 Introduction to PHP Part 1
strings.php • Script 1.6 on page 19 • http://cscdb.nku.edu/csc301/frank/ch01/strings.php • ch01\strings.php
concat.php • Script 1.7 on page 21 • http://cscdb.nku.edu/csc301/frank/ch01/concat.php • ch01\concat.php
numbers.php • Script 1.8 on page 24 • http://cscdb.nku.edu/csc301/frank/ch01/numbers.php • ch01\numbers.php
number_format • http://php.net/ • number_format
constants.php • Script 1.9 on page 27 • http://cscdb.nku.edu/csc301/frank/ch01/constants.php • ch01\constants.php
constants.php • Script 1.10 on page 30 • http://cscdb.nku.edu/csc301/frank/ch01/quotes.php • ch01\quotes.php
Debugging • Make sure you’re always running PHP scripts through a URL. • http://something.php • Know what version of PHP you’re running. • http://cscdb.nku.edu/csc301/frank/ch01/constants.php
Debugging • Make sure display_errors is on. • http://cscdb.nku.edu/csc301/frank/info.php • CTRL+F (Edit->Search) display_errors • Take a break!