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

Home » Imported messages » comp.lang.php » the changeover to mysqli
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: the changeover to mysqli [message #182938 is a reply to message #182932] Thu, 26 September 2013 00:16 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Wed, 25 Sep 2013 20:38:15 +0000 (UTC), Adam Harvey wrote:

> On Wed, 25 Sep 2013 16:21:25 -0400, richard wrote:
>> then why hasn't the horses mouth followed their own demands?
>> Of all the reference material I've seen on their site, all examples
>> refer to mysql, NOT mysqli.
>
> If you can provide links to pages on php.net that still recommend mysql
> over mysqli or PDO, I will happily fix them up to recommend more modern
> code.
>
> Note that the reference documents for mysql_* functions already have
> warnings at the top of each page recommending alternatives, and have to
> include examples of the deprecated functions to be useful.
>
> Adam

Since you're the man in charge, then I'll make a simple resolution.
Create a page with two columns.
Column 1 has the mysql item, while column 2 has the corresponding mysqli
item.
Then link column 2 to the new item "manual".

for instance:

mysql_free_result() ---->> mysqli_free_result()
http://php.net/manual/en/function.mysql-free-result.php

I had a look at the mysql stuff listed in the left column.
As you say, the replacement code is shown.
But I think a list showing the new code as well would be better.
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Zend 200-500 Practice Questions and Answers
Next Topic: Logic behind this?
Goto Forum:
  

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

Current Time: Wed Nov 27 06:45:53 GMT 2024

Total time taken to generate the page: 0.04868 seconds