Thread: php and mysql
View Single Post
  #1 (permalink)  
Old January 26th, 2015, 02:33 PM
zae zae is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote