Ingenio Home  | Blog Policies  | Help
Welcome to Community Sign in | Join | Help

Wednesday, August 15, 2007 - Posts

Use Functions

Creating functions for re-use will not only make your code shorter, but it makes your code much more legible.Let's say we've got a string that we want to process to remove all non-numeric characters. We would start with something like this:<?php$InString