Don't you all think that PHP would be much more efficient if it had its own server control then relying on html form controls?
PHP example:
<?
$selection= !isset($_POST['simpleselect'])? NULL : $_POST['simpleselect'];
echo '<select name="simpleselect">';
echo '<option value="Simple">Simple Select</option>';
echo '</select>';
?>
with PHP in order to find out what is going on with the form control you have to write logic to set the variable.
ASP.Net Example
<asp:dropdownlist id="simpleselect" runat="server">
<asp:listitem value="Simple">Simple Select</asp:ListItem>
</asp:DropDownList>
for ASP to find out what is going with the form control all it has to do is load.
Get the picture?
Sunday, July 8, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment