hmei7 2 years ago |
how to save last search into data api and delete it after 50 search data saved
comment |
Recent Comments (1)
davisville | 2 years ago |
Am not sure of this but let's try it and see.
create a page called search.html
api for data
config:
<*pid>pid<*/pid>
<*key1>your key<*/key1>
<*value1>:post(search);<*/value>
set the rest!
codes:
:*VALUE(%notify%).IFEQ().THEN().ELSE(<*span id='msg'>%notify<*/span>);
<*br>Search sth
<*input type='search' name='search' value=''>
<*br>
<*input type='submit' value='search'>
you are done but on the search page you will old searches with this code;
api data lister
config:
<*pid>that pid you usd<*/pid>
<*limit>50<*/limit>
set the rest!
codes:
last searches:
%value1%<*br>
you are good to go
reply |