You can write 2 functions to handle this.
Value and OutputValue
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tyler C. wrote:
> Is the a way to have an array, or use __get() to provide different
> data if you are echoing a variable, rather than if you are
Is the a way to have an array, or use __get() to provide different data
if you are echoing a variable, rather than if you are using it in a 'if'
statement?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo