DISPLAY NAME FROM DATABASE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

DISPLAY NAME FROM DATABASE

I'm working in php. I stored the users name in MySQL database. I want to retrieve tha stored names whenever i want directly from db. How to do that? I'm a beginner in php. Please help

23rd May 2021, 5:31 AM
Vinitha
Vinitha - avatar
1 Answer
+ 4
You can use mysqli or PDO for fetching data from database Both can do what you want but mysqli only works for mysql database. Just search for mysqli or pdo and you’ll find that
23rd May 2021, 5:37 AM
Nima