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

Home » Imported messages » comp.lang.php » database access
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: database access [message #174270 is a reply to message #174206] Mon, 30 May 2011 08:56 Go to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 5/26/2011 7:48 PM, Michael Fesser wrote:
> .oO(JohnT)
>
>> Looks like real overkill to me.
>> Do you really need to use PDO ?
>> Whats wrong with the regular PHP mysql_XXXX() functions ?
>
> The mysql_* functions are a bit outdated and mysqli_* isn't as elegant
> as PDO. Nothing wrong with using it, especially if you want to use some
> "advanced" features like prepared statements. It's a nice and clean
> interface and easy to encapsulate and extend in your own DB class as
> already mentioned.
>
> Micha

I second that. I have been using PDO in my latest projects, and I like
it so far.
Only thing to take care of is dates. (I Insert them as a string and
Postgresql happily takes them correctly, but this could give problems on
other backends.)

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[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
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: a more elegant way?
Goto Forum:
  

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

Current Time: Fri Nov 29 19:25:28 GMT 2024

Total time taken to generate the page: 0.06222 seconds