if (!isset($pmatch) || substr($key,0,strlen($pmatch)) == $pmatch) { print "$key = $value<br />"; } Cheers, Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Just to share, a Mr. Harkness forwarded me a consolidated version of my
code.. basically substituting the innards for:
- [PHP] Variable Troubleshooting Code Donovan Brooke
- Re: [PHP] Variable Troubleshooting Code David Courtin
- Re: [PHP] Variable Troubleshooting Code Marc Guay
- Re: [PHP] Variable Troubleshooting Code Ashley Sheridan
- Re: [PHP] Variable Troubleshooting Code Ashley Sheridan
- Re: [PHP] Variable Troubleshooting Code Paul M Foster
- Re: [PHP] Variable Troubleshooting Code Donovan Brooke
- Re: [PHP] Variable Troubleshooting Code Jim Lucas
- Re: [PHP] Variable Troubleshooting Code Donovan Brooke