Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When i use HTML forms in firefox 6, they dont work, but do in IE and safari and firefox 3.6

  • 2 प्रत्युत्तर
  • 4
  • 4 views
  • के द्वारा अंतिम प्रतियुतर phpdev69

more options

i have the following code in a php script, but in firefox 6 it fails, but works in firefox 3.6, safari, IE .......

echo '          <FORM method="post" action="FindPerGetNo.php">';
echo '          <tr>';
echo '            <SELECT name="SelectionString">';
  	
echo '<OPTION selected value="12">12</option>';
  	
        while($row = mysql_fetch_array($query))
         {
	   echo '<OPTION value=" -'.$row['sTableID'].'-">'.$row['sTableName'].'</OPTION>';
         }
  	echo '	    	    </SELECT> ';									}
  
echo '          </tr>';
  
echo '          <tr> ';
echo '            <p align="left">';
echo '            <td colspan="2"><div align="left"><input type="submit" value="Submit"></div></td>'; 
echo '          </tr> ';
  
echo '          </FORM>'; 


the called script has no value for SelectionString in firefox 6, but it does in the other browsers i mentioned

i have the following code in a php script, but in firefox 6 it fails, but works in firefox 3.6, safari, IE ....... <pre><nowiki> echo ' <FORM method="post" action="FindPerGetNo.php">'; echo ' <tr>'; echo ' <SELECT name="SelectionString">'; echo '<OPTION selected value="12">12</option>'; while($row = mysql_fetch_array($query)) { echo '<OPTION value=" -'.$row['sTableID'].'-">'.$row['sTableName'].'</OPTION>'; } echo ' </SELECT> '; } echo ' </tr>'; echo ' <tr> '; echo ' <p align="left">'; echo ' <td colspan="2"><div align="left"><input type="submit" value="Submit"></div></td>'; echo ' </tr> '; echo ' </FORM>'; </nowiki></pre><br /> <br /> the called script has no value for SelectionString in firefox 6, but it does in the other browsers i mentioned

cor-el द्वारा सम्पादित

All Replies (2)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

Many Thanks for the advice. I posted the question there as well.