I'm trying to search database by date also.
I've been working so hard to get this to work and I'm just so close.
I have the article setup:
<p>
Report Date Range</p>
<form action="#" method="post">
Start Date:<input name="start" type="cb_joindate" /><br />
End Date:<input name="End" type="cb_joindate" /><br />
<input type="submit" /> </form>
<p>
{aridatatables moduleId="301"}</p>
And my Module SQL statement:
SELECT firstname,lastname, cb_businessname,cb_phone, cb_joindate FROM jml_comprofiler
WHERE cb_joindate>='{$REQUEST:start} ' and cb_joindate<'{$REQUEST:End}'
The SQL statement works if I replace the $Request's with dates, but when I try to submit dates through the article form I get an Error page 0:Error. It is something with my action or method of post? Any ideas?
Thank you so much for any advice, tk