If I turn on :

                    <?php $group_level = 'intermediate 1'; ?>

Then it does lock the $group_level to intermediate 1.

groupinfo_edit.php

<tr>
                    <td>Level</td>
                    <td>
                    <?php //$group_level = 'intermediate 1'; ?>
                    <?php
                    $row2 = mysql_query("SELECT * FROM `level`") or die(mysql_error());
                    echo '<select name="group_level">';
                    while($data2 = mysql_fetch_array($row2)){
                        echo '<option value="'.$data2['level
                        _name'].'"';
                        if($group_level == $data2['level_name']){
                        echo 'selected="selected"';}
                        echo '>'.$data2['level_name'].'</option>';
                        }                       
                    echo '</select>';    
                    ?>


                    </td>
                </tr>

My problem is why it does not want to record group_level:

groupinfo_edit.php

<?php

// Check if session is not registered, redirect back to main page.
// Put this code in first line of web page.


session_start();


if(!isset($_SESSION['username']))
    {
    header("location:index.php");
    exit;
    }

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Squprime Admin Page</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="rustoleum, coating" />
<meta name="description" content="Rustoleum Indonesia provides coating solution for industrial requirement and individual needs." />

<style type="text/css">
#slideshow { left: 35px; float: left; margin: 10px; z-index: 0;}
#nav { width: 270px; margin: 170px 0 0 225px; float: left; position: absolute; z-index: 1;}
#nav li { float: left; margin: 0 0 0 4px; list-style: none; background: url(images/pager3-2.jpg) no-repeat top;}
#nav a { width: 40px; padding: 3px; display: block; border: 1px solid #ccc;}
#nav li.activeSlide a { /* background: #88f */ background: url(images/pager3.jpg) no-repeat top;}
#nav a:focus { outline: none;}
#nav img { border: none; display: block;}
pre { clear: left }
</style>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/chili-1.7.pack.js"></script>
<script src="../../js/jquery.cycle.all.js" type="text/javascript"></script>
<script src="../../js/jquery.easing.1.3.js" type="text/javascript" ></script>
<link href= "../../css/admin.css" rel="stylesheet" type="text/css" media="screen">
<link href= "../../css/navstyleadmin.css" rel="stylesheet" type="text/css" media="screen">
<script type="text/javascript">
$('#slideshow').cycle({ 
    fx:     'fade', 
    speed:   900, 
    timeout: 10000, 
    pager:  '#nav', 
    pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#nav li:eq(' + idx + ') a'; 
    } 
});
</script>

<script src="ckeditor/ckeditor.js"></script>
</head>

<div id="main-wrap1">
<body>

<?php include('../header2.php'); ?>

<?php   include("../adminnavcssjs.php");  ?>
<?php   include("../adminnav2.php");  ?>

<!-- <hr style="height:400px;width:1px;border-color:#eeeeee;margin: -50px 0 0 220px;" /> --> 

<img src="../images/line.png" style="repeat-x; width: 10px; height:800px; margin: -60px 0 0 10px;">


<div id="menu" style="margin-top: -700px;">
      <center>
        <div id="title"><h2>Edit Group Info</h2></div>
      </center>
      <p>&nbsp;</p>

  <p>&nbsp;</p><center>
      <p>

<?php

    include('../../includes/koneksi.php');

    $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : '';  
    $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : '';  
    $group_name = isset($_POST['group_name']) ? $_POST['group_name'] : ''; 
    $group_info = isset($_POST['group_info']) ? $_POST['group_info'] : '';
    $group_level = isset($_POST['group_level']) ? $_POST['group_level'] : '';
    $group_package = isset($_POST['group_package']) ? $_POST['group_package'] : '';
    $group_teacher = isset($_POST['group_teacher']) ? $_POST['group_teacher'] : '';
    $group_payment = isset($_POST['group_payment']) ? $_POST['group_payment'] : ''; 

    echo "Test";
    echo $group_level;
    echo $group_package;
    echo $group_payment;

    //Simpan berita 
    if (isset($_POST['ok'])){       

        if (empty($_GET['group_id']))
            {
            $sqlstr = "INSERT INTO `group`(group_name, group_info, group_level, group_package, group_teacher, group_payment) VALUES('".$group_name."','".$group_info."','".$group_level."','".$group_package."', '".$group_teacher."', '".$group_payment."')";          
            }
        else
            {           
            $sqlstr = "UPDATE `group` SET group_name='".$group_name."', group_info='".$group_info."', group_package='".$group_package."', group_level='".$group_level."', group_teacher='".$group_teacher."', group_payment='".$group_payment."' WHERE group_id='".$_GET['group_id']."'";           
            }       

        $result = mysql_query($sqlstr) or die(mysql_error());

        //Jika mode edit, maka tidak akan dikirimkan konfirmasi kepada subscriber
        //if (empty($_REQUEST['id']))   kirimEmail($idKategori, $judul, $news);
        $confirmation = ($result) ? "Data has been saved." : "Fail to save data.";  
    }

    //Load berita
    if (!empty($_GET['group_id'])){

        $result = mysql_query("SELECT * FROM `group` WHERE group_id =".$_GET['group_id']) or die(mysql_error());
        $data = mysql_fetch_array($result);     
        $group_id = $data['group_id'];
        $group_name = $data['group_name'];
        $group_info = $data['group_info'];
        $group_package = $data['group_package'];
        $group_level = $data['group_level'];
        $group_teacher = $data['group_teacher'];
        $group_payment = $data['group_payment'];

    }else {
        // set all empty for new info
        $group_id = "";
        $group_name = "";
        $group_info = "";
        $group_package = "";
        $group_level = "";
        $group_teacher = "";
        $group_payment = "";
    }

    ?>

    <div align="center">
        <div style="width:800px;text-align:left;">
        <?php echo $confirmation;?>      
        <form method="post" action="<?php echo $_SERVER['PHP_SELF'].'?group_id='. $group_id;?>">
            <!-- <input type="hidden" name="id" value="<?php// echo $id; ?>"/>-->
            <table>
                <tr>
                    <td>Group Name <font color="red">*</font></td>              
                    <td><input type="text" size="50px" name="group_name" value="<?php echo $group_name; ?>"></td>
                </tr>
                <tr>
                    <td valign="top">Information</td>             
                    <td>
                        <textarea cols="50" rows="5" id="news" name="group_info"><?php echo $group_info;?></textarea>
                        <script type="text/javascript">
                            var editor = CKEDITOR.replace('news');
                        </script>                    </td>
                </tr>
                <tr>
                    <td>Package</td>
                    <td>
                    <?php
                    $row = mysql_query("SELECT * FROM `package`") or die(mysql_error());
                    echo '<select name="group_package">';
                    while($data = mysql_fetch_array($row)){
                        echo '<option value="'.$data['package'].'"';
                        if($group_package == $data['package']){
                        echo 'selected="selected"';}
                        echo '>'.$data['package'].'</option>';
                        }
                    echo '</select>';    
                    ?>
                    </td>
                </tr>
                <tr>
                    <td>Level</td>
                    <td>
                    <?php //$group_level = 'intermediate 1'; ?>
                    <?php
                    $row2 = mysql_query("SELECT * FROM `level`") or die(mysql_error());
                    echo '<select name="group_level">';
                    while($data2 = mysql_fetch_array($row2)){
                        echo '<option value="'.$data2['level
                        _name'].'"';
                        if($group_level == $data2['level_name']){
                        echo 'selected="selected"';}
                        echo '>'.$data2['level_name'].'</option>';
                        }                       
                    echo '</select>';    
                    ?>


                    </td>
                </tr>
                <tr>
                    <td>Teacher</td>
                    <td>
                    <?php
                    /*
                    $rs = mysql_query("SELECT * FROM `teacher`") or die(mysql_error());                 
                    echo "<select name='group_teacher'>";
                    while($data = mysql_fetch_array($rs)){
                        echo "<option value='".$data['teach_fname'].'&nbsp;'.$data['teach_lname']."'>".$data['teach_fname'].'&nbsp;'.$data['teach_lname']."</option>";
                        }
                    echo "</select>";
                    */
                    ?>

                    <?php echo $group_teacher; ?>
                    <?php
                    $row3 = mysql_query("SELECT * FROM `teacher`") or die(mysql_error());
                    echo '<select name="group_teacher">';
                    while($data = mysql_fetch_array($row3)){
                        echo '<option value="'.$data['teach_fname'].'&nbsp;'.$data['teach_lname'].'"';
                        if($group_teacher == $data['teach_fname'].'&nbsp'.$data['teach_lname']){
                        echo 'selected="selected"';}
                        echo '>'.$data['teach_fname'].'&nbsp;'.$data['teach_lname'].'</ophtion>';

                        }                   

                    echo '</select>';
                    ?>
                    </td>
                </tr>
                <tr>
                    <td>Payment</td>
                    <td>
                    <?php
                    $row2 = mysql_query("SELECT * FROM `group`") or die(mysql_error());
                    echo '<select name="group_payment">';
                    echo '<option value="PAID"';
                    if($group_payment == "PAID"){
                    echo 'selected="selected"';}
                    echo '>PAID</option>';
                    echo '<option value="UNPAID"';                   
                    if($group_payment == "UNPAID"){
                    echo 'selected="selected"';}
                    echo '>UNPAID</option>';                 
                    echo '</select>';    
                    ?>                  
                    </td>
                </tr>
                <tr>             
                    <td></td>
                    <td><br><input type="submit" name="ok" value="Save" class="abutton"/></td>
                </tr>
            </table>
        </form>
        </div>
    </div>
</div>    


<br><br><br><br><br><br><br><br><br><br><br><br>     
<p>&nbsp;</p>

<?php include('../adminfooter.php'); ?>
</body>
</html>

I wonder why echo $group_level; does not show anything -- (right below "Test") -- $group_package and $group_payment does show their value.

Please help.

Thanks before.

I already try:

line 95: echo $group_level;

It doesn't show anything. Line 96 - 97 shows somethings.

Array ( [group_name] => PT Indonusa [group_info] => Group Indonusa Information [group_package] => 16 lessons [group_level] => [group_teacher] => John Rayne [group_payment] => PAID [ok] => Save )

Group level is empty

Check the HTML, specifically for the generated select tag and paste that here.

I do not understand. I already paste the whole code (groupinfo_edit.php) above.

Do you mean HTML Generated - Source Code - IE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Squprime Admin Page</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="rustoleum, coating" />
<meta name="description" content="Rustoleum Indonesia provides coating solution for industrial requirement and individual needs." />

<style type="text/css">
#slideshow { left: 35px; float: left; margin: 10px; z-index: 0;}
#nav { width: 270px; margin: 170px 0 0 225px; float: left; position: absolute; z-index: 1;}
#nav li { float: left; margin: 0 0 0 4px; list-style: none; background: url(images/pager3-2.jpg) no-repeat top;}
#nav a { width: 40px; padding: 3px; display: block; border: 1px solid #ccc;}
#nav li.activeSlide a { /* background: #88f */ background: url(images/pager3.jpg) no-repeat top;}
#nav a:focus { outline: none;}
#nav img { border: none; display: block;}
pre { clear: left }
</style>
<script src="../../js/jquery.min.js" type="text/javascript"></script>
<script src="../../js/chili-1.7.pack.js"></script>
<script src="../../js/jquery.cycle.all.js" type="text/javascript"></script>
<script src="../../js/jquery.easing.1.3.js" type="text/javascript" ></script>
<link href= "../../css/admin.css" rel="stylesheet" type="text/css" media="screen">
<link href= "../../css/navstyleadmin.css" rel="stylesheet" type="text/css" media="screen">
<script type="text/javascript">
$('#slideshow').cycle({ 
    fx:     'fade', 
    speed:   900, 
    timeout: 10000, 
    pager:  '#nav', 
    pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '#nav li:eq(' + idx + ') a'; 
    } 
});
</script>

<script src="ckeditor/ckeditor.js"></script>
</head>

<div id="main-wrap1">
<body>



<div id="header">

<center>

<img src="../../images/header2.jpg">
<div id="logoadm" style="margin-top: -150px;"><br><img src="../../images/logo.png" height="100px"></div><br><br><br><br><br><br><br><br><br>                                                
<div id="lineadm"><h3><img src="../../images/admin.png" height="70" width="50">ADMIN PAGE</h3>
<div id="visitlink">|&nbsp;admin</a>&nbsp;|&nbsp;<a href="messages.php"><img src="../../images/mail.png" style="margin-top: -5px; position:absolute;"></a></div></div>
</center>

</div>

<head>
<link rel="stylesheet" href="navstyleadmin.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<title>jQuery Vertical Accordion Menu Plugin v 2.6</title>
<link href="../css/dcaccordion.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type='text/javascript' src='../js/jquery.cookie.js'></script>
<script type='text/javascript' src='../js/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='../js/jquery.dcjqaccordion.2.7.min.js'></script>
<script type="text/javascript">
$(document).ready(function($){
                    $('#accordion-1').dcAccordion({
                        eventType: 'click',
                        autoClose: true,
                        saveState: true,
                        disableLink: true,
                        speed: 'slow',
                        showCount: true,
                        autoExpand: true,
                        cookie  : 'dcjq-accordion-1',
                        classExpand  : 'dcjq-current-parent'
                    });
                    $('#accordion-2').dcAccordion({
                        eventType: 'click',
                        autoClose: false,
                        saveState: true,
                        disableLink: true,
                        speed: 'fast',
                        classActive: 'test',
                        showCount: false
                    });
                    $('#accordion-3').dcAccordion({
                        eventType: 'click',
                        autoClose: false,
                        saveState: false,
                        disableLink: false,
                        showCount: false,
                        speed: 'slow'
                    });
                    $('#accordion-4').dcAccordion({
                        eventType: 'hover',
                        autoClose: true,
                        saveState: true,
                        disableLink: true,
                        menuClose: false,
                        speed: 'slow',
                        showCount: true
                    });
                    $('#accordion-5').dcAccordion({
                        eventType: 'hover',
                        autoClose: false,
                        saveState: true,
                        disableLink: true,
                        menuClose: true,
                        speed: 'fast',
                        showCount: true
                    });
                    $('#accordion-6').dcAccordion({
                        eventType: 'hover',
                        autoClose: false,
                        saveState: false,
                        disableLink: false,
                        showCount: false,
                        menuClose: true,
                        speed: 'slow'
                    });
});
</script>
<link href="../css/skins/grey.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../js/superfish.js"></script>
<script type="text/javascript">
jQuery(function(){
    jQuery('ul.menu').superfish({
        animation:     {opacity:'show',height:'show'},
        speed:         'slow', 
        autoArrows:    true
    });
});
</script>
</head> 
<html>
<head>
<link rel="stylesheet" href="navstyleadmin.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<title>jQuery Vertical Accordion Menu Plugin v 2.6</title>
<link href="css/dcaccordion.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type='text/javascript' src='js/jquery.cookie.js'></script>
<script type='text/javascript' src='js/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='js/jquery.dcjqaccordion.2.7.min.js'></script>
<script type="text/javascript">
$(document).ready(function($){
                    $('#accordion-1').dcAccordion({
                        eventType: 'click',
                        autoClose: true,
                        saveState: true,
                        disableLink: true,
                        speed: 'slow',
                        showCount: true,
                        autoExpand: true,
                        cookie  : 'dcjq-accordion-1',
                        classExpand  : 'dcjq-current-parent'
                    });
                    $('#accordion-2').dcAccordion({
                        eventType: 'click',
                        autoClose: false,
                        saveState: true,
                        disableLink: true,
                        speed: 'fast',
                        classActive: 'test',
                        showCount: false
                    });
                    $('#accordion-3').dcAccordion({
                        eventType: 'click',
                        autoClose: false,
                        saveState: false,
                        disableLink: false,
                        showCount: false,
                        speed: 'slow'
                    });
                    $('#accordion-4').dcAccordion({
                        eventType: 'hover',
                        autoClose: true,
                        saveState: true,
                        disableLink: true,
                        menuClose: false,
                        speed: 'slow',
                        showCount: true
                    });
                    $('#accordion-5').dcAccordion({
                        eventType: 'hover',
                        autoClose: false,
                        saveState: true,
                        disableLink: true,
                        menuClose: true,
                        speed: 'fast',
                        showCount: true
                    });
                    $('#accordion-6').dcAccordion({
                        eventType: 'hover',
                        autoClose: false,
                        saveState: false,
                        disableLink: false,
                        showCount: false,
                        menuClose: true,
                        speed: 'slow'
                    });
});
</script>
<link href="css/skins/grey.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../js/superfish.js"></script>
<script type="text/javascript">
jQuery(function(){
    jQuery('ul.menu').superfish({
        animation:     {opacity:'show',height:'show'},
        speed:         'slow', 
        autoArrows:    true
    });
});
</script>
</head>

<body>

<!--
<ul class="menu vertical">
        <li><a href="admin.php">Admin</a></li>
        <li><a href="admin.php">Pages</a></li>
        <li><a href="input_image.php">Image Gallery</a>
        <li><a href="user.php">User</a></li>
        <li><a href="setting.php">Setting</a></li>
        <li><a href="../">Log Out</a>
    </ul>
-->
<div class="grey demo-container">
<!--
<ul class="text">
<li>Close Open Sub-menus: Off</li>
<li>Save State: On</li>
<li>Disable Parent links: On</li>
<li>Speed: fast</li>
<li>Count: on</li>
</ul> -->
<ul class="accordion"  id="accordion-2">

    <li><a href="#">Admin</a><ul>
        <li><a href="groupmgt.php">Group Management</a></li>
        <li><a href="studentmgt.php">Student Management</a></li>
        <li><a href="material.php">Materials</a></li>
        <li><a href="schedule.php">Create Schedule</a></li>
        <li><a href="study_report.php">Study Report</a></li>        
        <li><a href="exercise.php">Exercise</a></li>
        <li><a href="messages.php">Messaging</a></li>
        <li><a href="../logout.php">Logout</a></li>     
        <li><a href="#">Settings</a><ul>
            <li><a href="access.php">Access Level ID</a></li>
            <li><a href="package.php">Package</a></li>
            <li><a href="pages.php">Static Content</a></li>         
            <li><a href="input_image.php">Image Gallery</a></li>
            <li><a href="file_manager.php">File Manager</a></li>
            <li><a href="database.php">Database</a></li>
            <li><a href="level.php">Level</a></li>
            <li><a href="#">Auto Messaging</a></li>         
            </ul></li>
    </ul>
</li>
</div>


</body>

</html>  
<!-- <hr style="height:400px;width:1px;border-color:#eeeeee;margin: -50px 0 0 220px;" /> --> 

<img src="../images/line.png" style="repeat-x; width: 10px; height:800px; margin: -60px 0 0 10px;">


<div id="menu" style="margin-top: -700px;">
      <center>
        <div id="title"><h2>Edit Group Info</h2></div>
      </center>
      <p>&nbsp;</p>

  <p>&nbsp;</p><center>
      <p>

TestArray
(
)

    <div align="center">
        <div style="width:800px;text-align:left;">

        <form method="post" action="/squprime/administrator/admin/groupinfo_edit.php?group_id=6">
            <!-- <input type="hidden" name="id" value="<?php// echo $id; ?>"/>-->
            <table>
                <tr>
                    <td>Group Name <font color="red">*</font></td>              
                    <td><input type="text" size="50px" name="group_name" value="PT Indonusa"></td>
                </tr>
                <tr>
                    <td valign="top">Information</td>             
                    <td>
                        <textarea cols="50" rows="5" id="news" name="group_info">Group Indonusa Information</textarea>
                        <script type="text/javascript">
                            var editor = CKEDITOR.replace('news');
                        </script>                    </td>
                </tr>
                <tr>
                    <td>Package</td>
                    <td>
                    <select name="group_package"><option value="16 lessons"selected="selected">16 lessons</option><option value="32 lessons">32 lessons</option><option value="64 lessons">64 lessons</option><option value="20 lessons">20 lessons</option></select>                 </td>
                </tr>
                <tr>
                    <td>Level</td>
                    <td>
                                        <select name="group_level"><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">advance1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">elementry 1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">elementry 2</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">intermediate 1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">intermediate 2</option></select>                  

                    </td>
                </tr>
                <tr>
                    <td>Teacher</td>
                    <td>

                    John Rayne                  <select name="group_teacher"><option value="John&nbsp;Rayne">John&nbsp;Rayne</ophtion><option value="Newton&nbsp;Bale">Newton&nbsp;Bale</ophtion><option value="cunglie&nbsp;cao">cunglie&nbsp;cao</ophtion></select>                   </td>
                </tr>
                <tr>
                    <td>Payment</td>
                    <td>
                    <select name="group_payment"><option value="PAID"selected="selected">PAID</option><option value="UNPAID">UNPAID</option></select>                 
                    </td>
                </tr>
                <tr>             
                    <td></td>
                    <td><br><input type="submit" name="ok" value="Save" class="abutton"/></td>
                </tr>
            </table>
        </form>
        </div>
    </div>
</div>    


<br><br><br><br><br><br><br><br><br><br><br><br>     
<p>&nbsp;</p>



<div id="footer">

<hr width=1000px;>
<center>
<div id="logo"></div>
</center>

<center></center>


<div id="netlink"><a href="http://www.rustoleum.com"></a></div>

</div></body>
</html>

Yes. That's what I meant. See this:

<select name="group_level"><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">advance1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">elementry 1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">elementry 2</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">intermediate 1</option><br />
<b>Notice</b>:  Undefined index: level
                        _name in <b>C:\xampp\htdocs\squprime\administrator\admin\groupinfo_edit.php</b> on line <b>188</b><br />
<option value="">intermediate 2</option></select>  

That is invalid code.

Also, I see several <html> and <head> tags, which is also invalid HTML. You really need to fix that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.