选择OnChange更改PHP变量

Hello StackOverflow People.

I need you help. I have this code:

<select name="type" onChange="idk?" class="form-control">
<option value="H">Week 51</option>
<option value="V">Week 52</option>
</select>

And if an user change the week i want to change the file get content :s

$Week = "";
echo file_get_contents('http://rooster.farelcollege.nl/'.$Week.'/c/c00050.htm');

Thanks!

greetings from the Netherlands =)

查看全部
douhao7677
douhao7677
2015/12/15 17:33
  • onchange
  • php
  • html
  • javascript
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复