|
Prev: Date formatting issue
Next: PHP Brain Teasers
From: "Tyler C." on 5 Aug 2008 11:50 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?
From: Micah Gersten on 5 Aug 2008 12:42 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 using it in > a 'if' statement? >
|
Pages: 1 Prev: Date formatting issue Next: PHP Brain Teasers |