I have an HTML select with several options. One of them is selected by default, but I would like to be able to change which one is selected. I found out how to do it using javascript, but I would like to do it using PHP as the information used to set it is stored in a PHP $_SESSION variable.
在HTML选择中选择选项
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
3条回答 默认 最新
dtpa98038 2011-11-22 23:13关注You'll need to learn PHP, I recommend starting here.
Start Googling around for PHP tutorials. After you learn basic PHP, this will be easy for you.
解决 无用评论 打赏 举报