Easily Generate a search script, something like the one on top of this page, the generated code includes the search form and the MySql query, it prints out the grabbed search field and the primary key. Note: this script does not paginate results, it provides raw results for further use.