Displaying 1 result from an estimated 1 matches for "get_price_info".
2010 Apr 14
7
display optional db data
ive got a few models that may or may not have some data: urls / phone
numbers / dates / times / etc
whats the best way to test and format this data for displaying on a
webpage?
the way im thinking of doing it would be a few lines of code to:
- test if not null
- format properly
- display in proper div / ul container
and then do that for each thing
is there a cleaner way to do this?
--
Posted