I am doing a web application and user enter 2 data in form
I need to compare this data with a data base in MySql, if they are correct, I'll show the rest of the information
and that is
can you help me?
Printable View
I am doing a web application and user enter 2 data in form
I need to compare this data with a data base in MySql, if they are correct, I'll show the rest of the information
and that is
can you help me?
Hi,
put the data from the form to the Business layer. In the action calls an object from the Business layer that do the validation in the data layer(JDBC o ORM) compare them and then you can send the message to the page that you need.
good luck
bbq
it's easy
1) Get the data from the fields
2) do a query to the data base
3) compare the value from the data base with the value of the field
4)Do an If sentence.