Store dd in seperate field (just strip out those chars on insertion or upon taking it out. Then just run =>$num1 and =<$num2
Alex Darke wrote:
I know what I am typing below won't work, but I'm hoping someone understands well enough what I'm trying to do to help me figure out how to implement it. (MySQL, btw)
I have a field, date, that has YYYY-MM-DD in it. I want to have a form where you put in, say, 05 and 15 and it then looks for matches on DD for those days and between. Sorta like -
select id,name from db where date >= "%05" AND date <= "%15";
I know this doesn't work. I tried it. But I'm hoping someone out there can set me on the right path. :oP