i have a database (hello) and it has 2 tables 1. login_tbl and 2. users_tbl
both contains the 3 fields id,username,password and id,first_name,last_name respectively.
now plz help me to write the php code according to this which helps to search the users details in users_tbl
and fetch all the records.
thnks
Recommended Answers
Jump to PostWhat do you have so far?
Jump to PostIf you check this page you will find several MySQL code snippets to get you started. I recommend MySQLi or PDO examples.
Jump to PostUse innerjoin.
All 9 Replies
pritaeas
2,080
¯\_(ツ)_/¯
Moderator
Featured Poster
annyangel
0
Light Poster
pritaeas
2,080
¯\_(ツ)_/¯
Moderator
Featured Poster
annyangel
0
Light Poster
Eagle.Avik
0
Junior Poster in Training
Bachu
45
Newbie Poster
annyangel
0
Light Poster
ehpratah
48
Posting Whiz in Training
annyangel
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.