Ryan Gniewkowski

Output Information from a MySQL Database

Connection Information

hi

Retrieve Information from Titles Table

Array ( [0] => Array ( [ISBN] => 0596005436 [0] => 0596005436 [Title] => PHP and MySQL [1] => PHP and MySQL [Price] => 44.95 [2] => 44.95 ) [1] => Array ( [ISBN] => 0596006815 [0] => 0596006815 [Title] => Programming PHP [1] => Programming PHP [Price] => 39.99 [2] => 39.99 ) [2] => Array ( [ISBN] => 0596101015 [0] => 0596101015 [Title] => PHP Cookbook [1] => PHP Cookbook [Price] => 44.99 [2] => 44.99 ) [3] => Array ( [ISBN] => 0596527403 [0] => 0596527403 [Title] => Dynamic HTML [1] => Dynamic HTML [Price] => 59.99 [2] => 59.99 ) [4] => Array ( [ISBN] => 9781491978917 [0] => 9781491978917 [Title] => Learning PHP, MySQL, & JavaScript [1] => Learning PHP, MySQL, & JavaScript [Price] => 49.99 [2] => 49.99 ) )

Format Output of Titles Table for Web Page Visitors

ISBNTitlePrice
0596005436PHP and MySQL44.95
0596006815Programming PHP39.99
0596101015PHP Cookbook44.99
0596527403Dynamic HTML59.99
9781491978917Learning PHP, MySQL, & JavaScript49.99