|
此文章由 porcorosso 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 porcorosso 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 porcorosso 于 2013-9-5 16:43 编辑
english is easier to type and explain
there is a free text single input search form. when user enter the search keywords, the keywords will store into "keyword" column in the given table. there is a "user_id" column to remember the user too.
when user next time visiting the page, i like to get the 2 most recent unique entered keywords, and show them on the screen, so that user can click on these keywords and the form will submit automatically, i.e. user does not have to type again.
this feature is built from scratch, so both table and query can be fully altered.
可以吗?
|
|