Forum Moderators: coopster

Message Too Old, No Replies

Empty cell in MySQL

         

outdoorxtreme1

3:00 pm on Nov 8, 2005 (gmt 0)

10+ Year Member



How do I output the HTML code   if a cell in MySQL has no data in it?

jatar_k

5:34 pm on Nov 11, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not really

in essence you create the two date strings
then you need to chop them up and compare the month strings
if they match then you need to construct the display as you showed
if not then you just show the full strings

much better imo to just show the full strings

This 61 message thread spans 3 pages: 61