Bug #3935: Aren't getting all data from a form into the variables

From: Date: Mon, 27 Mar 2000 12:13:30 +0000
Subject: Bug #3935: Aren't getting all data from a form into the variables
Groups: php.dev 
Request: Send a blank email to php-dev+get-17282@lists.php.net to get a copy of this message
From: jech@kvl.dk Operating system: Digital Unix 4 PHP version: 3.0.15 PHP Bug Type: Parser error Bug description: Aren't getting all data from a form into the variables When using forms with a lot of text fields, PHP forgets some of the variables. Excerpt from the input form: printf ("<tr>"); while (ora_fetch($curs)) { $resultrows = $resultrows + 1; $tprogram = ora_getcolumn($curs,2); $thpage = ora_getcolumn($curs,3); printf ("<tr>"); ?> <td> <input type="hidden" name="tmarker<?echo $i;?>" value="C"> <input type="checkbox" name="tdelete<?echo $resultrows;?>" value="del"> </td> <td> <input size=25 name="tprogram<?echo $resultrows;?>" value="<?echo $tprogram;?>"> </td> <td> <input size=25 name="thpage<?echo $resultrows;?>" value="<?echo $thpage;?>"> </td> <? printf ("</tr>"); } When filled out with: tprogramX thpageX sdfsdf aa - ddf b - b c - c d - xpage using: while (list($var, $value) = each($HTTP_GET_VARS)) { echo "$var = $value<br>\n"; } shows that the last textfield ("xpage") is not stored in a PHP variable (it doesn't matter if I'm using PUT og POST in the form).

« previous php.dev (#17282) next »