Jump to content

[SOLVED] unexpected T_BOOLEAN_OR


seany123

Recommended Posts

oops i just realised how thats fixed but can anyone see anymore errors? because i know that my gang_edit == 1 but its still redirecting me.

 

so ive now got

 

if(($player->username != $gang['leader']) || ($player->gang_edit != 1))
{
header("Location: ../your_gang/details.php");
} 

i realised that

if(($player->username != $gang['leader']) || ($player->gang_edit != 1))
{
header("Location: ../your_gang/details.php");
} 

 

is impossible...

 

so now im using just this..

 

if($player->gang_edit != 1)
{
header("Location: ../your_gang/details.php");
} 

 

ive echo'd my $player->gang_id and its 1 however its still redirecting me???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.