FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » login validation from 2 tables in same database
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
login validation from 2 tables in same database [message #184800] Mon, 03 February 2014 09:03 Go to previous message
hujan is currently offline  hujan
Messages: 1
Registered: February 2014
Karma:
Junior Member
Hi, how to do one log in form but being use by 2 different entities/tables in the same DB?

Also, each table have different number of columns. Below is my table fields:

user [id(PK), profile, name, gender, dob, contact, addr1, email,username, password]

student [reg_no(pk), s_name, s_gender, s_ic, s_dob, s_contact, s_email, s_addr1, s_addr2, country, s_dept, s_post, username, password]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: sendmail from localhost is driving me crazy!
Next Topic: user resgiartattion form
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Feb 01 11:50:04 GMT 2025

Total time taken to generate the page: 0.04312 seconds