Código PHP:
while($row = mysql_fetch_array($result)){
echo "<tr>";
echo "<td>" . $row['idUsuario'] . "</td>";
echo "<td>" . $row['Usuario'] . "</td>";
echo "<td>" . $row['Administracion'] . "</td>";
if($row['Administracion']=='No'){
$a=0;
}
echo "<td>" . $row['Lectura'] . "</td>";
if($row['Lectura']=='No'){
$b=0;
}
echo "<td>" . $row['Escritura'] . "</td>";
if($row['Escritura']=='No'){
$c=0;
}
echo "</tr>";
}
Código PHP:
while($row = mysql_fetch_array($result)){
echo "<tr>";
echo "<td>" . $row['idUsuario'] . "</td>";
echo "<td>" . $row['Usuario'] . "</td>";
echo "<td>" . $row['Administracion'] . "</td>";
echo "<td>" . $row['Lectura'] . "</td>";
echo "<td>" . $row['Escritura'] . "</td>";
echo "</tr>";
}
if($row['Administracion']!='No'){
$a=0;
}
if($row['Lectura']!='No'){
$b=0;
}
if($row['Escritura']!='No'){
$c=0;
}