Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

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

  • 2 respostas
  • 4 têm este problema
  • 4 visualizações
  • Última resposta de 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

Alterado por cor-el em

Todas as respostas (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.