Just one page still to do. And I'm stuck.
I keep getting:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or 
`T_NUM_STRING' in /www/htdocs/dev/users/tracking-update.php on line 43

ON this code:

commonHeader("IRM Tracking - Update Information");
PRINT "<a href=\"$HTTP_REFERER\">Go Back</a><hr noshade><br>";
$datenow = date("Y-m-d H:i:s");
$user2 = new User($IRMName);
$type = $user2->getType();
$permissions = $user2->permissionCheck("tech");
$track = new Tracking($tID);
$isStat = $track->isStatus($status);
$isAssign = $track->isAssign($user);
$query = "select dev_group from tracking where (ID=$tID)";
                $sth = $adb->prepare($query);
                        $res = $sth->execute();
                        $result = $sth->fetchrow_hash();
                        $dev_group = $result["dev_group"];
if($permissions)    // This is line 43

and I can't see what ever is wrong! Probably have been looking too much at 
it. Anyone who can see an error in here somewhere?

/Martin S.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to