1 / 11

Introduction to PHP Strings and Basic Operations with Debugging Tips**

This chapter provides a comprehensive introduction to strings in PHP, exploring how to manipulate and combine them using various functions. Learn to format numbers and understand constants while enhancing your coding skills. It includes practical scripts with detailed explanations and URLs for deeper insights into the PHP functions used. Additionally, essential debugging practices are discussed to ensure your PHP scripts run smoothly, including how to check your PHP version and set `display_errors` for easier troubleshooting.

halle
Télécharger la présentation

Introduction to PHP Strings and Basic Operations with Debugging Tips**

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 1 Introduction to PHP Part 1

  2. strings.php • Script 1.6 on page 19 • http://cscdb.nku.edu/csc301/frank/ch01/strings.php • ch01\strings.php

  3. concat.php • Script 1.7 on page 21 • http://cscdb.nku.edu/csc301/frank/ch01/concat.php • ch01\concat.php

  4. numbers.php • Script 1.8 on page 24 • http://cscdb.nku.edu/csc301/frank/ch01/numbers.php • ch01\numbers.php

  5. Arithmetic Operations

  6. number_format • http://php.net/ • number_format

  7. constants.php • Script 1.9 on page 27 • http://cscdb.nku.edu/csc301/frank/ch01/constants.php • ch01\constants.php

  8. constants.php • Script 1.10 on page 30 • http://cscdb.nku.edu/csc301/frank/ch01/quotes.php • ch01\quotes.php

  9. 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

  10. Debugging • Make sure display_errors is on. • http://cscdb.nku.edu/csc301/frank/info.php • CTRL+F (Edit->Search) display_errors • Take a break!

More Related