get the fields from database

R

Ror Ruby

My table name is pbook, in this i have lot fields ( 15 fields { name,
homeno, pnoheno, mobileno, buisnessno, address, city, state),


I have to implement the search facility, if the i type a pattern it
should fetch the records from database, it should display the matched
records.

but my requirement is if my pattern match with atleast one field in
pbook table it should display the records.


give me a query. awaiting reply.

Thx in advance,
Manju.A.
 
7

7stud --

Ror said:
My table name is pbook, in this i have lot fields ( 15 fields { name,
homeno, pnoheno, mobileno, buisnessno, address, city, state),


I have to implement the search facility, if the i type a pattern it
should fetch the records from database, it should display the matched
records.

but my requirement is if my pattern match with atleast one field in
pbook table it should display the records.


give me a query. awaiting reply.

Thx in advance,
Manju.A.

ruby is a programming language. Some people write programs using ruby,
and then they let other people use their programs. If you have a
question about one of those programs, you need to:

1) Email the authors of the program and ask them your question.

or

2) Find a place where other people who use the same program hang out and
discuss issues and problems they have while using the program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top