View Single Post
  #1 (permalink)  
Old March 1st, 2006, 10:03 AM
rit01 rit01 is offline
Friend of Wrox
 
Join Date: Oct 2005
Location: , , United Kingdom.
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default Undefined Index Error

Hi All

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:

Code:
Notice: Undefined index: mode in c:\domains\website.com\wwwroot\contact.php on line 2
..and the code that it refers to is..
Code:
If ($_GET['mode'] == "sent")
Many thanks

Rit
__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
Reply With Quote