Jump to content

Help echoing a message


lingo5

Recommended Posts

Hi,

I have done a php page that shows a list of events with start and finish date. I want to print an automatic message "Event ends today" when the end date on my recordset equals today date.

 

This is the code that shows the start and end dates:

 

this show start date

 

// <?php echo date('d/m/Y',strtotime($row_eventos_RS['AG_fechai'])); ?>

 

...and this shows end date

 

// <?php echo date('d/m/Y',strtotime($row_eventos_RS['AG_fechaf'])); ?>

 

Thanks all for your help

Link to comment
https://forums.phpfreaks.com/topic/184895-help-echoing-a-message/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.