O'Reilly logo

PHP for the Web: Visual QuickStart Guide, Fourth Edition by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. Creating Functions

Throughout this book, you’ve used dozens of functions that provide much-needed functionality, such as date(), setcookie(), and 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required