codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php # --------------------------------- [ lang_UNIV.php (fragment) $hash_CUR = array( "USD" => "US Dollar", "MXP" => "Peso mexicano", "EUR" => "Euro" ); # --------------------------------- [ auxiliary print "<select name='currency'> \n"; foreach ($hash_CUR as $str_thisID => $str_thisname) { print " <option value='$str_thisID'> $str_thisname </option> \n"; } print "</select>"; ?>
Private
[
?
]
Run code
Submit