I hope this is not too confusing....
I have this variable:
$Query = "SELECT *, DATE_FORMAT(date, '%m-%d-%Y') AS date_format FROM $TableName where author_name LIKE '$senator_search' ORDER BY date DESC";
i also want to add:
where subject LIKE '$subject_search'
so that it looks at both SUBJECT field and AUTHOR_NAME field and pulls records that match.
Further in the code i have this:
if (!strcmp($senator_search, "%Andrews%"))
{
how do i add:
$subject_search, "%Andrews%"
to this?
Thanks a lot