I'm trying to create a query that takes the users input from a text field called $incorporation_date.
Query Idea
$sql = "SELECT * FROM companies WHERE incorporation_date LIKE '%%%%/%%/%%" . $incorporation_date . "%%%%/%%/%%'";
How would I make it so that you could use SQL to bring up the values of the submitted format you enter.
Example search 2015-06-15