dynamic url search links

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 8, 2012   (RSS)

Re: [markr] dynamic url search links

By Jason - March 8, 2012

Hi,

Thanks for posting. That's a great alternative to having to hard code in values.

An easy alternative to using mktime is to use the PHP strtotime function, where you can take in an entire date string and remove only the pieces that you want. For example:

$monthNumber = date("m", strtotime($row['event']));

Thanks again for sharing your solution!
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/