How to change grid title according to url?
<p>I want to Change the titles of my grid according to url
i.e if i am having <strong>http://localhost/jvb/admin/view_report.php?arid=98</strong>
 then grid should have titles as shown below..</p>

<pre><code>&lt;table&gt;
 &lt;tr&gt;
   &lt;th width="18%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Sr.No&lt;/th&gt;
   &lt;th width="17%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Name&lt;/th&gt;
   &lt;th width="15%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Commission&lt;/th&gt;
   &lt;th width="18%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;View&lt;/th&gt;
 &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>and in other case if url is
<strong>http://localhost/jvb/admin/view_report.php?crid=31</strong>
then the grid should have titles as shown below..</p>

<pre><code>&lt;table&gt;
 &lt;tr&gt;
   &lt;th width="18%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Sr.No&lt;/th&gt;
   &lt;th width="17%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Name&lt;/th&gt;
   &lt;th width="15%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;Closing amount&lt;/th&gt;
   &lt;th width="18%" align="centre" bgcolor="#CCCCCC" class="link-l"&gt;View&lt;/th&gt;
 &lt;/tr&gt;
&lt;/table&gt;
</code></pre>
