Features / Usability

Features / Usability

How to check if a string exist in 2 smarty variables

posts: 126843 United Kingdom

Surely you would need to convert both month names into numbers (using %m format) and then do something like {if $thatMonthNumber lt $thisMonthNumber}{do stuff...

If you know the month you are looking at is always the 2nd word in the string then some regex should do it with preg_match_all ?

Does that help?

Upcoming Events

No records to display

Latest Page Changes

No records to display ...more