Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 4 ont ce problème
  • 4 vues
  • Dernière réponse par 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

Modifié le par cor-el

Toutes les réponses (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.