Undefined index (hid is not being identified)
<p><strong>On running the following code I'm getting the following error:</strong></p>

<pre><code>Notice: Undefined index: hid in E:\Program Files\xampp\htdocs\cont.php

echo "&lt;table align='right'&gt;&lt;tr&gt;&lt;td&gt;&lt;a href='cont.php?hid=101'&gt;&lt;input type='button' value='Account Settings'&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";
</code></pre>

<p><strong>cont.php code:</strong></p>

<pre><code>$con = mysql_connect("localhost","Rahul","");
    mysql_select_db("ebusiness", $con);

if($_SESSION['id']==1)
    {
 include 'business.php';
}
else if($_GET['hid']==101)
{
    session_start();
     include 'edprofile.php';
}
</code></pre>
