ID:               43374
 Updated by:       [EMAIL PROTECTED]
 Reported By:      balu at ap dot nic dot in
-Status:           Open
+Status:           Bogus
 Bug Type:         Dynamic loading
 Operating System: windows xp with sp2
 PHP Version:      5.2CVS-2007-11-22 (snap)
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-11-22 12:24:53] balu at ap dot nic dot in

Description:
------------
loading select boxes from database and executing PHP in Internet
Explorer and pressing submit,it is not working whereas in Mozilla
browser it is working fine.what to do.

Reproduce code:
---------------
<?
                                $db_name="practice";
                                
$connection=mysql_connect("localhost","root","admin") or die("I
Couldn't connect");
                                $db=mysql_select_db($db_name,$connection) or 
die("I Couldn't select
your database");
                                $branch="mand_mast"; // Table name

                                @$cat=$_GET['cat']; // Use this line or below 
line if
register_global is off
                                $quer2=mysql_query("SELECT DISTINCT mandname 
FROM mand_mast order
by mandname"); 

                                echo "<form method=post name=f1 
action='dd-check.php'>";
                                echo "<select name='MNAME' 
onchange=\"reload(this.form)\">
                                <option value=''>Select one</option>";
                                while($noticia2 = mysql_fetch_array($quer2)) 
                                { 
                                if($noticia2['mandname'[EMAIL PROTECTED]){echo 
"<option selected
value='$noticia2[mandname]'>$noticia2[mandname]</option>"."<BR>";}
                                else{echo  "<option
value='$noticia2[mandname]'>$noticia2[mandname]</option>";}
                                }
                                echo "</select>";
                                echo "</form>";
                                ?>

Expected result:
----------------
I want to make it send the data selected in select box to database but
it is not doing.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43374&edit=1

Reply via email to