php and mysql
hello, i want to ask if it is possible for a php script to search and match data in two database tables. I have this project in which I created a form that is to search for pins in one database table and registration numbers in another database table. the script should allow user access to a page if a match is found or deny if no match is found. I also want to make it possible for the script to limit the number of times a particular pin is used say 3x. how do I put together my codes, will really appreciate any help
to avoid confusion , my form has two input tags, one for pins and another for reg numbers. the script has to search if the pins exists and also if the reg# exists in the two database tables. I no how to search in one database table but not two
Last edited by zae; January 26th, 2015 at 02:41 PM.