There is another way to do it:

results = crud.search(dbOBJECT.news, queries= ['equals','contains'])

But that will print out all the tables. There are lot of ways to do this 
but the best is to use the query and output to a table, make it look nice 
and then display. 



On Saturday, March 7, 2015 at 1:33:50 PM UTC-5, Ron Chatterjee wrote:
>
> I would say, go through this link. Massimo and Leonel explained everything.
>
> https://groups.google.com/forum/#!topic/web2py/poJDzhYa-d0
>
>
>
> On Saturday, March 7, 2015 at 7:33:33 AM UTC-5, zimani wrote:
>>
>>
>> hello people,
>>
>> So i have created my web pages. However i need a searchbox for my users, 
>> based on all my pages/database. How can i easily include a search box to my 
>> pages. Is there a plugin for search boxes?
>>
>> Thanks for the help
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to