Jump to content

searching form


hookit

Recommended Posts

Hi,

 

I have a bd with the following fields:

 

Id, state, town, address, day

 

Primary key: id

 

Each field, except id, should has a text field in the php form.

 

Blank inputs are allowed in the form.

 

The search should return the registries that match the inputs in the search. Combining 1 or 2 or 3 fields  or alltogether.

 

Can it be done with php?,  cause i have been told in a Mysql forum that is better done with php.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/169620-searching-form/
Share on other sites

Can it be done with php?,

 

Yes.  What part are you having trouble with?  I'm not sure exactly what you're trying to ask because I don't see any other questions...

 

cause i have been told in a Mysql forum that is better done with php.

 

As opposed to?

Link to comment
https://forums.phpfreaks.com/topic/169620-searching-form/#findComment-894878
Share on other sites

Hi hookit,

 

Are you trying to add data into the table but you want to check whether those fields are already used to prevent duplicate entries

Each field, except id, should has a text field in the php form.

or are youyou trying to search those fields?

search should return the registries that match the inputs in the search

Link to comment
https://forums.phpfreaks.com/topic/169620-searching-form/#findComment-894882
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.