if (
$row['level']<=$r['level']
&&
(
(
$row['people'] > 0
&&
($row['people']+1) <= $r['grp']
)
||
$row['people'] == 0
)
)
{
echo '<div align="left" id="details"> <div align="right"><a href="build_base.php?id='.$row['id'].'">Build base.</a></div>
...
Fladry said:Why do you need the logic of the code. I don't Think you will use such kind of code in your website or somewhere else. And You can run the code to check the logic anyway!

