可能重複:
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