10. Creating Functions
In This Chapter
Throughout this book, you’ve used dozens of functions that provide much-needed functionality, such as
number_format(). Whereas those functions have already been defined by PHP, here you’ll be creating your own. However, once created, functions you’ve written and built-in PHP functions are used in the same manner.
Creating functions can save you oodles of time as a programmer. In fact, they constitute a strong step in the process of creating Web ...