On Wednesday 25 December 2002 21:44, Martin S wrote:
> 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:
>
> AuthCheck("post-only");
> 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);
>                 if($sth)
>                 {
>                         $res = $sth->execute();
>                         $result = $sth->fetchrow_hash();
>                         $dev_group = $result["dev_group"];
>                 }
> if($permissions)    // This is line 43
> {
>         if(!$isStat)
>         {
>
>
> 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?

It /looks/ OK, assuming that you have closing braces on the last two IF 
statements. Are you sure you're looking at the right file?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *


/*
Promise her anything, but give her Exxon unleaded.
*/


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

Reply via email to