in reply to Re: Regex or Index
in thread Regex or Index

Hello

Thanks for reply. I tried using your advice, but no luck. Im sort of a MySQL newbie and confused on how I would put that statement with mine.

$sql = "SELECT * FROM mailtodo where date = '$INPUT{'date'}' AND lastn +ame LIKE '[A-K]*'";
The statement above returns no results, but should. I need the where date syntax because I'm also sorting the data by date. Thanks,

Anthony