Hi guys,
Today, we will see about mysql database connection in php.
In the world of web development, data plays a key role. To give best experien...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, rather than mysqli, I would prefer using PDO. php.net/manual/en/pdo.connections.php
It would be much easier to migrate from MySQL to another DB if needed. It is used in all frameworks like Laravel, Symfony etc.
Hi there,
Yeah I agree with you, but for beginners that will be little bit confusion, as a newbie, the above approach will be much simpler.
Thanks for your response!