In PHP,how to create a second selection box with values based on first selection box?
<p>i have to create a project in which there are two selection boxes First one is Skill_ctegory and takes values from the database dynamiclly(Scripting Laguages,Other Languages,Database,Personal SKills).</p>

<p>And in Second selection box the valuse would also be displayed dynamically based on Values Selectd in Skill_category the First Selection Box.
The values in second seletion box have relation with Values in first Seletion box in database.eg(PHP,ASP,JavaScript are related to Scripting Language. and so on.)</p>

<p>I have created two tables :-</p>

<p>Table 1.<br>
silll_category<br>
id      category<br>
1       Scripting Laguages<br>
2       Other Languages<br>
3       Database<br>
4       Personal SKills                 </p>

<hr>

<p>TABLE 2 </p>

<h2>Skills</h2>

<p>id      cat_id      Skill   </p>

<p>1       1       PHP
2       1       ASP<br>
3       1       Javascript<br>
4       2       C<br>
5       2       C++
6       2       Java<br>
7       3       MySql.                                  </p>

<p>I will be thankfull to him/her if anybody could provide me solution
Please provide some code or link where i can learn this</p>
