FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Prep. Statements only in mysql-i?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Prep. Statements only in mysql-i? [message #177678 is a reply to message #177652] Fri, 13 April 2012 08:06 Go to previous messageGo to previous message
Adam Harvey is currently offline  Adam Harvey
Messages: 25
Registered: September 2010
Karma:
Junior Member
On Thu, 12 Apr 2012 07:51:38 -0400, Jerry Stuckle wrote:
> Or if you mean the mysql interface vs. mysqli, who says it isn't
> supported?

Not supported is a bit strong, since ext/mysql is still bundled with PHP,
but Sun/Oracle have been focusing on mysqli for the last few years, and
the current plan is to deprecate the mysql extension in the next PHP
minor/major release (most likely to be numbered 5.5) with a view to
removal in a subsequent release.

Those keeping a sharp eye on the mysql_connect() manual page will have
noticed a new note appear last week (there's an ongoing debate about how
prominent to have it, since it's currently fairly buried), which reads:

> Use of this extension is discouraged. Instead, the MySQLi or PDO_MySQL
> extension should be used. See also MySQL: choosing an API for more
> information.
> Alternatives to this function include:
> mysqli_connect()
> PDO::__construct()

So whilst ext/mysql may be supported for now, that's unlikely to continue
indefinitely.

Adam
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Clean PDO-MySQL Statement
Next Topic: Getting date URLs and prev/next links working in Codeigniter
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 10:51:54 GMT 2024

Total time taken to generate the page: 0.05015 seconds