Forums

search?

jeel2008 16 Feb, 2009
hello, i a total newbie in php and all that, but my question is this:
everywhere i read about php and mysql its about searching your database with queries.

here at the chronoconnectivity you can make a form which enables you to edit your database.

but what im looking for is just a simpel form which some inputfields which the visitors of my site can put searchinfo into. not me, but my visitors have to search , via queries, the database.
like
for sale: cars
look for: brand (inputfield1)
look for: color (inputfield2)
look for: < $10.000 (inputfield3)

is this possible with chronoconnectivity? if not, will it be? if not, where can i get phpcodes like this?
as i see it, in fact every searchform is the same. its only the name of the database that has to be changed , isnt it? (and maybe a password to secure it).

thank, Jeel2008
GreyHead 16 Feb, 2009
Hi jeel2008,

Google is your friend . . . after all if it's always the same code it *must* be out there all over the place.

More seriously you can do this with ChronoConnectivity - there's been an example here of searching for cities and types of restaurant in the last few days.

Bob
jeel2008 16 Feb, 2009
hi bob,
thanks for the quick reply.
it migth have been an ignorant question, i really dont know. (it isnt always the same code?).
anyway, i;ll have a look in the forum, as that's where the example is?
jeel2008
Max_admin 16 Feb, 2009
Hi Jeel,

if you are searching the data in only 1 DB table then you can use ChronoConnectivity but if you are trying to search many tables or the whole site then you need a global search module!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.