mysqli php table names with hyphen or space
问题 The website is intended to display certain laws/rules by jurisdiction. There is a simple mysqli query that finds the counties and then displays the county names on screen with this: echo "><a href=\"index.php?sel_subj=" . urlencode($subject["county_name"]) . "\"> {$subject["county_name"]}</a></li>"; Then you click on a county name (embedded with the link) and a mysqli query is supposed to look up a table with that county name and get all the jurisdictions within that county. if (isset($_GET[