可能重复:
A form with one field that counts the times a value has been entered如何使我的搜索表单保存数据库中的每个搜索?
我需要让我的搜索形式保存的每一个值,它的进入,然后我希望能够获取由数量排序的值他们被搜查过的次数,但我不知道如何。
这是我的搜索形式:
<form role="search" method="get" action="http://chusmix.com/" onsubmit="if (document.getElementById('s').value.length < 4) return false;" style="float:right; display:inline; padding-right:10px;">
<input class="ubicacion" type="text" value="" name="s" id="s">
<input type="submit" id="searchsubmit" value="Search"/>
</form>
我有一个SQL数据库,我知道这很重要......我知道一点的PHP但如果有任何信息,您可能需要请咨询我,如果可能的话告诉我从哪里得到它。
你有*任何*想法如何在PHP中使用数据库? – deceze 2010-12-19 01:07:52
这是您发布此问题的**第三次**。反复询问同样的事情不会让你获得更好的结果。 – 2010-12-19 01:15:59