This is the part of my code giving the problem.I tried to use isset but i think my syntax is incorrect. I still get the Notice: Undefined index: id.
if($_GET['id'] && $record['allusers'] != "Y"){
$q2 = mysql_query("SELECT * from users WHERE alljobs = 'Y'");
while($arr2 = mysql_fetch_assoc($q2)){
$userjobs2[] = $arr2['id'];
}