mysql_connect and mysqli_connect

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: mysql_connect and mysqli_connect

Post by MeroD » Sun Oct 21, 2012 11:11 pm

Please, don't use mysql_* functions for new code. They are no longer maintained and the community has begun the deprecation process. Instead you should learn about prepared statements and use either PDO or MySQLi.

http://stackoverflow.com/questions/7206 ... with-mysql
http://php.net/manual/en/mysqlinfo.api.choosing.php
http://wiki.hashphp.org/PDO_Tutorial_fo ... Developers

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests