How can I easily manipulate the state of page elements using PHP?
<p>In ASP.NET </p>

<ul>
<li><p>I can show a hidden panel that contains many controls by using simple command such as:</p>

<pre><code>Panel.Visible = CheckBox1.Checked;
</code></pre></li>
<li><p>I can disable a Button easily:</p>

<pre><code>&lt;asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
Text="Submit" Enabled="false"  /&gt;
</code></pre></li>
</ul>

<p>But now I'm looking at using PHP. Does it offer a similarly simple technique for hiding / disabling page elements?</p>
