|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-22 15:32 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
On RedHat7.1 Box with apache generate a HTML form. put a dropdown menu as form element. ie : <pre> <form name="test" action="bug.php" method="POST"> <select name="pop" > <option value="0">NO</option> <option value="1">NO</option> <input type="Submit" name="Submit_Button" value="Send Values"> </pre> bug.php <pre> <? if($pop){ echo "There isnt any bug"; } else { echo "Ops!"; } ?> </pre> If $pop=0 then engine cant read this value, and print "Ops!" I did try this on 3 servers that uses RedHat7.1 with PHP Version 4.0.3pl1.