<form id="form1" name="form1" method="post" action="resultsbyname.php"> <p>Please enter the name or part of the name of the shop you are seeking.</p> <input type="text" name="name" /> <input type="submit" value="Search" /></form>// and below is what i have in my php script called 'resultsbyname.php'.<?phpecho $name;?>// My php reports the following error. Notice: Undefined variable: name in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\resultsbyname.php on line 2