[UPHPU] OT: Utah MySQL Users Group?

Steve Dibb steve at wonkabar.org
Tue Aug 29 15:45:14 MDT 2006


jtaber wrote: 
>   And I think both Postgres and MySql have equivalent PHP commands for 
> normal operations.   There may be reasons to choose one over another 
> (ie licensing,host availability), but ease of use really isn't one of 
> them. 

Actually, PHP 5 has some *very nice* native database functions for 
postgres that mysql doesn't have.

http://php.net/pgsql

As examples, pg_update, pg_insert, pg_delete ... passing in arrays 
versus SQL strings is great, and it makes coding much simpler.  Yes, I 
know you can get the same functionality with a DB class, but why bother 
with more deps?

(Theres a few more cool functions, but I can't remember off the top of 
my head)

Steve


More information about the UPHPU mailing list