我有一个为残疾学生建立的网站,用于搜索YouTube,然后以无障碍格式显示结果。显示最受欢迎的表单提交?
我想显示本网站上排名前5的最受欢迎的检索词。
搜索条件是使用文本输入表单提交的 - 有没有办法将searchterms提交给mysql,然后显示最流行的?
还是更好的方法?
形式提交代码:
<fieldset class="search">
<form method="get" name="search" action="<?php echo
htmlentities($_SERVER['PHP_SELF']); ?>">
<input type="text" label="type here" class="box" name="v" placeholder="type here..."/>
<input type="submit" name="submit" value="Search"/>
</form>
</fieldset>
非常感谢,迈克