:?:
Hi, I'm a php coding beginner. I went through alot of ressources during the weekend and I need some help only for three functions!!!
I use macromedia recordset. I have 5 fields in my table and I want these 3 functions:
Field
category- type of the field = enum
1-I want the text of the whole table(every fields) to be
white if value=sports
blue if value = hobby
2-I want different icons(sports.jpg, hobby.jpg) to appear
rather than the value
date- type of the field= timestamp
3-I want the date to appear in this format : Nov 19 2003.
These are the lines I want to edit...
<?php do { ?>
<table width="100%" border="0" cellspacing="2" cellpadding="2"><tr><th colspan="2" scope="col"><div align="left"><font color="#FFFFFF">
<?php echo $row_post['category']; ?></font><font color="#FFFFFF">
<?php echo $row_post['title']; ?></font><font color="#FFFFFF">
<?php echo $row_post['firstname']; ?>, ?></font><font color="#FFFFFF">
<?php echo $row_post['city_of_event']; ?></font><font color="#FFFFFF">
<?php echo $row_post['date']; ?></font><font color="#FFFFFF">
</td>
</tr></table><?php }
thanks
Andre