searching & tagged content on index page

13 posts by 4 authors in: Forums > CMS Builder
Last Post: September 19, 2008   (RSS)

By kapelle - September 18, 2008

Thanks! It works, but I also get this error message:

Notice: Use of undefined constant where - assumed 'where' in /home/content/h/e/a/hearts2god/html/WorshipMax/index.php on line 94

Re: [kapelle] searching & tagged content on index page

By kapelle - September 18, 2008

LOL I have no idea what I'm doing, but it looks like I fixed it. I changed:

where => " DATE_FORMAT(date, '%Y-%m-%d') = '2008-09-16' ",

to:

'where' => " DATE_FORMAT(date, '%Y-%m-%d') = '2008-09-16' ",

I just put the single quotes around WHERE because the error message said assumed 'where'