4 Replies - 216 Views - Last Post: 26 February 2019 - 10:30 AM Rate Topic: -----

#1 connorfinan   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 26-February 19

Form handling - Matching form inputs to criteria and echoing

Posted 26 February 2019 - 09:05 AM

Hi Folks!

I am needing a bit of direction on how to overcome an issue I am having. I am unsure if the PHP category is correct as I may need to use other languages to pull off what I want.

I am creating a system where I have a form that is filled out with criteria (Age, Budget, Smoking status etc) once the form has been filled out it is sent to a client manually, at the moment we have to cross check the information and see what client it should go to.

I have all the clients in an SQL database along with their criteria, how can I check what the user has submit on the form / cross check it with the information/criteria in the SQL database and if it matches a clients criteria then echo the client that the information on the form should be sent to.

I can't think of a way to do this, I am fairly new to SQL so wondered if there was a way.

Thanks for reading!

Is This A Good Question/Topic? 0
  • +

Replies To: Form handling - Matching form inputs to criteria and echoing

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14995
  • View blog
  • Posts: 59,874
  • Joined: 12-June 08

Re: Form handling - Matching form inputs to criteria and echoing

Posted 26 February 2019 - 09:29 AM

Is this an issue on the sql query or the php/db interaction?
Was This Post Helpful? 0
  • +
  • -

#3 connorfinan   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 26-February 19

Re: Form handling - Matching form inputs to criteria and echoing

Posted 26 February 2019 - 09:52 AM

php/db interaction is what I am after.
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14995
  • View blog
  • Posts: 59,874
  • Joined: 12-June 08

Re: Form handling - Matching form inputs to criteria and echoing

Posted 26 February 2019 - 09:58 AM

Ah.. check the tutorials in the tool bar at the top. Plenty on that topic.
Was This Post Helpful? 1
  • +
  • -

#5 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2836
  • View blog
  • Posts: 11,132
  • Joined: 03-December 12

Re: Form handling - Matching form inputs to criteria and echoing

Posted 26 February 2019 - 10:30 AM

https://www.dreaminc...duction-to-pdo/
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1