Php, Form in firefox...
Posted: Tue Apr 05, 2011 10:30 am
Is there something different between firefox and ie displaying froms generated bij php?
I have de page with a form.
In some firefox browsers (different pc's) the wrong value is displayed in the form fields...
When i then look at the page code, the value isn't in the code, only diplayed on the page...

When the value of the form is empty, the problem occurs, when there is a value, the problem vanishes...
(form field value is loaded form a mysql db)
...
$opmerkingen = mysql_result($result,$i,"opmerkingen");
...
<form>
</form>
Is there something i should know about firefox? ie, chrome work fine...
thanx for helping me out!

I have de page with a form.
In some firefox browsers (different pc's) the wrong value is displayed in the form fields...
When i then look at the page code, the value isn't in the code, only diplayed on the page...
When the value of the form is empty, the problem occurs, when there is a value, the problem vanishes...
(form field value is loaded form a mysql db)
...
$opmerkingen = mysql_result($result,$i,"opmerkingen");
...
<form>
Code: Select all
...
<input value="<?php if ($_GET['idpersonen'] != "nieuw"){echo $opmerkingen;} ?>" name="opmerkingen" type="text" maxlength="4000" size="130" />
...
Is there something i should know about firefox? ie, chrome work fine...
thanx for helping me out!