Thread: Get started with php and PGSQL...
I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database examples are using mySQL. Where can I find the definitions for the corresponding PG calls i.e. mysql_connect --> pg_connect and so on. Herbie Pabst
Hey, >I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database >examples are using mySQL. Where can I find the definitions for the >corresponding PG calls i.e. mysql_connect --> pg_connect and so on. Check out the php manual, http://www.php.net/manual/en/ref.pgsql.php or my site (shameless plug) http://designmagick.50megs.com/ (small tutorial for using php & postgresql). Hope that'll get you started! :) ------------------------ Chris Smith http://www.squiz.net
??? I don't own the php 4 book, but I own the php 3 one and they had an appendix for all that stuff. they don't have it in this edition? That blows. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Herbie Pabst" <herbie@nextearth.com> To: "pgsql-php" <pgsql-php@postgresql.org> Sent: Sunday, February 11, 2001 9:36 PM Subject: [PHP] Get started with php and PGSQL... > I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database > examples are using mySQL. Where can I find the definitions for the > corresponding PG calls i.e. mysql_connect --> pg_connect and so on. > > Herbie Pabst
No appendix for pgsql. Herbie Pabst Adam Lang wrote: > ??? > I don't own the php 4 book, but I own the php 3 one and they had an appendix > for all that stuff. they don't have it in this edition? That blows. > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company > http://www.rutgersinsurance.com > ----- Original Message ----- > From: "Herbie Pabst" <herbie@nextearth.com> > To: "pgsql-php" <pgsql-php@postgresql.org> > Sent: Sunday, February 11, 2001 9:36 PM > Subject: [PHP] Get started with php and PGSQL... > > > I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database > > examples are using mySQL. Where can I find the definitions for the > > corresponding PG calls i.e. mysql_connect --> pg_connect and so on. > > > > Herbie Pabst
You're serious? The PHP 3 book has an appendix for all the php functions separated by category of what they are for. They don't have that in the new book? Anyone have a clue why not? Well, atleast there is ol' reliable php.net. Just go there, go to quick ref and type in postgresql. The first link returned has a list of all the postgresql functions at the bottom of the page. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Herbie Pabst" <herbie@nextearth.com> To: "Adam Lang" <aalang@rutgersinsurance.com> Cc: "pgsql-php" <pgsql-php@postgresql.org> Sent: Monday, February 12, 2001 11:09 AM Subject: Re: [PHP] Get started with php and PGSQL... > No appendix for pgsql. > > Herbie Pabst > > Adam Lang wrote: > > > ??? > > I don't own the php 4 book, but I own the php 3 one and they had an appendix > > for all that stuff. they don't have it in this edition? That blows. > > > > Adam Lang > > Systems Engineer > > Rutgers Casualty Insurance Company > > http://www.rutgersinsurance.com > > ----- Original Message ----- > > From: "Herbie Pabst" <herbie@nextearth.com> > > To: "pgsql-php" <pgsql-php@postgresql.org> > > Sent: Sunday, February 11, 2001 9:36 PM > > Subject: [PHP] Get started with php and PGSQL... > > > > > I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database > > > examples are using mySQL. Where can I find the definitions for the > > > corresponding PG calls i.e. mysql_connect --> pg_connect and so on. > > > > > > Herbie Pabst
No appendix for pgsql. Herbie Pabst Adam Lang wrote: > ??? > I don't own the php 4 book, but I own the php 3 one and they had an appendix > for all that stuff. they don't have it in this edition? That blows. > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company > http://www.rutgersinsurance.com > ----- Original Message ----- > From: "Herbie Pabst" <herbie@nextearth.com> > To: "pgsql-php" <pgsql-php@postgresql.org> > Sent: Sunday, February 11, 2001 9:36 PM > Subject: [PHP] Get started with php and PGSQL... > > > I'm following along with a PHP4 book (PHP4 Bible IDG Books) all database > > examples are using mySQL. Where can I find the definitions for the > > corresponding PG calls i.e. mysql_connect --> pg_connect and so on. > > > > Herbie Pabst