I'm making a website where you can sign up for a handball team by filling out a form (simple school project). I want to check whether this form has been filled out or not by using isset. Here's my code:
<?php
require("mysql.php");
if(isset($_GET['submit']{
db_koble_til("localhost", "root", "", "handball");
...
...
The problem is though, I get an error after the if statement on the fourth line. When I run the site, it says there's an unexpected semicolon there. What do I do to fix this? My php knowledge is very limited as you probably can tell.