Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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

  • 2 odgovora
  • 4 imaju ovaj problem
  • 4 prikaza
  • Posljednji odgovor od 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

Izmjenjeno od cor-el

Svi odgovori (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.