ok, hice lo q me dices ahi y tengo esto.
Código PHP:
if ($language != 0)
{
($_REQUEST['action'] == "acc")
$id2 = intval($_REQUEST['acc']);
$result2 = mysql_query("SELECT id,zona,ip,acc1,acc2,acc3,acc4,acc5,acc6,acc7,acc8 FROM zonas WHERE zona=$id2");
echo "<form action=".htmlspecialchars($row['zona'])." method="get" name="acc1">";
echo "<label class="username" for="username">".htmlspecialchars($row['acc1']).":</label>";
echo "<input type="submit" name="acc1" value="ON">";
echo "<input type="submit" name="acc1" value="OFF">";
echo "</form>";
?>
pero me da un error en la fila q dice: $id2 = intval($_REQUEST['acc']);
Parse error: syntax error, unexpected T_VARIABLE.
tienes idea de porq es eso??