We help IT Professionals succeed at work.

what is the best way to connect my database to my new website using php and mysql ?

273 Views
Last Modified: 2018-02-06
Hi , i'm a computer science  student and i'm working on  a web development project (buiding a website for my higher shcool) . For the moment i had compeleted the front end of the site and i'm dealing with the back end side these days  using mysql and php . my problem is choosing the best way to connect my database to my website , is it mysqli or PDO ?
Comment
Watch Question

CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Nadir BELHADJfull stack web developer

Author

Commented:
so , you mean that the answer of my question depends on the type of the project ( the site ) ?
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Most Valuable Expert 2011
Author of the Year 2014
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Freelancer
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION