[Solved] Search function not working in php
If you are looking to search, you need to use the LIKE syntax, not WHERE $sql=”SELECT * FROM members WHERE FirstName LIKE ‘”. $fname .”%'”; The LIKE & % make it a wildcard. Now you said you want to search by first and last, but you only pass in your first variable and you only … Read more