On Sep 11, 2010, at 12:14 PM, Jason Pruim wrote:
On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote:
Rather than repeating all that code, I suggest the following:
That's actually what I'm trying to get away from. I was hoping to do
it all in HEREDOC syntax. I've always thought it made it cleaner.
But that is a personal opinion :)
Well, from a maintainability aspect, the way i showed makes more sense
because if there are changes to be made (such as adding another
option), you only have to make one change, not n changes.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php