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

Home » Imported messages » comp.lang.php » mysqli --- who does the switching?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mysqli --- who does the switching? [message #182016 is a reply to message #182010] Sat, 29 June 2013 15:39 Go to previous messageGo to previous message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma:
Senior Member
On 6/28/2013 8:43 PM, Thomas 'PointedEars' Lahn wrote:
> Scott Johnson wrote:
>
>> On 6/28/2013 6:54 PM, richard wrote:
>>> On Fri, 28 Jun 2013 18:36:42 -0700, Scott Johnson wrote:
>> <snip>
>>> Or would this be the more proper way of doing mysql_query()?
>>>
>>> http://www.php.net/manual/en/mysqli-result.data-seek.php
>>>
>>
>> I have not used data_seek but it just seems like a way to place a
>> pointer in the result set. Not 100% since I just glanced at it.
>>
>> Look at the fecth_???? methods but with the mysqli_query not the
>> mysql_query. The (i) is the key.
>>
>> And if you have issues getting it to work just throw the code you are
>> using up here and I am sure someone can help since you are updating your
>> code.
>
> Sorry to kill the mysqli hype here, but the most intuitive and easiest to
> learn database API to replace mysql is by far PHP Data Objects (PDO), which
> is stable since PHP 5.1 (2005) [1]. It is also database-agnostic. Use that
> instead of mysql(i) if possible. And avoid servers running PHP < 5.3 if you
> value your data. The last PHP 5.2.x was released more than two years ago.
> [2]
>
>
> [1] <http://php.net/pdo>
> [2] <http://php.net/ChangeLog-5.php>
>
>
> PointedEars
>

Not sure if I would call it a hype, just giving an alternative to what
is being used that I am familiar with.

PDO may be an option worth exploring.
[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
Read Message
Previous Topic: Sandbox
Next Topic: Need PHP backed developer
Goto Forum:
  

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

Current Time: Wed Nov 27 07:23:14 GMT 2024

Total time taken to generate the page: 0.04187 seconds