I hope you don't mind...I am not really from a PHP background but have inherited a site which seems to have a problem with its contact form. The strange thing is that the code seems to work fine on the site's old server but not on the new one though they are both running PHP.
The error I am getting is:
Notice: Undefined index: mode in c:\domains\website.com\wwwroot\contact.php on line 2
..and the code that it refers to is..
If ($_GET['mode'] == "sent")