1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Whoopsy, it takes the index, not the value

This commit is contained in:
Hannes Magnusson
2009-04-16 14:15:52 +00:00
parent b1747f08aa
commit 65fe719115

View File

@@ -247,7 +247,7 @@ if ($process && count($errors) === 0) {
</tr>
<tr>
<th class="subr">Are you real?</th>
<td><select name="sane"><?php display_options(array("I'm an robot", "I used to be", "WTF?", "Yes", "No, but I'd still want to submit this"), "WTF?"); ?></select></td>
<td><select name="sane"><?php display_options(array("I'm an robot", "I used to be", "WTF?", "Yes", "No, but I'd still want to submit this"), "2"); ?></select></td>
</tr>
</table>
</form>