Commitee Members
Commitee Officials
It only pick the word 'Committee' and not the next word when I get the getPostValue. Why is it?
Expand|Select|Wrap|Line Numbers
- echo "<tr><td><b>OS Staff By</b></td>";
- $res=mysql_query("select OSName from tblOSstaff");
- if(mysql_num_rows($res)==0){
- echo "there is no data in table..";
- } else {
- echo "
- <td width='80%'><select name=\"staff_by\" id=\"staff_by\">";
- for($i=0;$i<mysql_num_rows($res);$i++) {
- $row=mysql_fetch_assoc($res);
- echo"<option value=$row[OSName]";
- if($Var==$row[OSName])
- echo "selected";
- echo ">$row[OSName]</option>";
- }
- echo
- "</select><br></tr></td>";
- }