3
Contributors
2
Replies
17
Views
3 Years
Discussion Span
Last Post by Sammys.Man
0
$query = "SELECT *  FROM po
         wHERE (date = str_to_date({$searchString},'%m-%d-%Y') || date like str_to_date ({$searchstring},'%m-%d-%Y)) ";
0

what if you type something wrong by mistake?
shouldn't you use the form <input type="date"> field? that way you can select the date

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.