This tutorial will help you to send data to a php file to hide a div ie sending a string to a php file to hide a div.Follow these steps.
1 : Open the php file which contains the div to hide.
Paste this code above the tag
<blockquote class="tr_bq">
<p>
<b><style type="text/css"></b><b><span style="font-family: Times, 'Times New Roman', serif;">#<?php echo $_GET[‘div’]; ?>{</span></b><b><span style="font-family: Times, 'Times New Roman', serif;"><span style="color: red;">display:none;</span></span></b><b><span style="font-family: Times, 'Times New Roman', serif;">}</span></b><b><span style="font-family: Times, 'Times New Roman', serif;"></style></span></b>
</p>
</blockquote>
If you want to show a div change the line "display:none;" to "display:block;"
2 : Paste the div code with an id on the php file.
Hello World
<p>
<span style="font-family: Times, 'Times New Roman', serif;">3 : If the name of the file you just typed is "<b>main" </b>and the url of the file is <b>"http://example.com/main" </b>then if you want to hide you have to type the url like this. <b>"http://example.com/main?div=hide" </b>. After going to this url the div id <b>"hide"</b></span><b style="font-family: Times, 'Times New Roman', serif;"> </b><span style="font-family: Times, 'Times New Roman', serif;">will be hidden.</span></div> </div>