Hello All
Please help me how to add root items and sub items in the following page using a database. please help me
<table width="45%" height="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="32%" height="25" align="left" class="linkstext" scope="col"><span class="style1">Select menu level </span></th>
<th width="10%" scope="col">:</th>
<th width="58%" align="left" scope="col">
<select name="select">
<option title="root">Root</option>
<option title="root">Main menu</option>
<option title="root">Sub menu</option>
</select> </th>
</tr>
<tr>
<th width="32%" height="25" align="left" class="linkstext" scope="col"><span class="style1">Menu name </span></th>
<th width="10%" scope="col">:</th>
<th align="left" scope="col">
<input type="text" name="textfield" size="20"/> </th>
</tr>
<tr>
<th width="32%" height="25" align="left" class="linkstext" scope="col"><span class="style1">Content type </span></th>
<th width="10%" scope="col">:</th>
<th align="left" scope="col">
<select name="select2">
<option title="root">Content</option>
<option title="root">File</option>
<option title="root">Link</option>
<option title="root">Blank</option>
</select> </th>
</tr>
<tr>
<th width="32%" height="25" align="left" class="linkstext" scope="col"><span class="style1">Sort order </span></th>
<th width="10%" scope="col">:</th>
<th align="left" scope="col">
<input type="text" name="textfield2" size="2"/> </th>
</tr>
<tr>
<th width="32%" height="25" scope="col" align="right">
<input name="Submit" type="submit" class="tablesearchbox" value="Submit" /> </th>
<th width="10%" scope="col"> </th>
<th scope="col" align="left">
<input name="Submit2" type="submit" class="tablesearchbox" value="Reset" /> </th>
</tr>
</table>