Skip to main content

Accessing PostgreSQL from PHP

  • Chapter
Beginning Databases with PostgreSQL
  • 2488 Accesses

Summary

In this chapter, we examined the ways that a PostgreSQL database can be accessed from the PHP scripting language. We covered the various aspects of database connections, query building and execution, result set manipulation, and error handling. We also introduced the PEAR database abstraction interface.

In the next chapter, we’ll explore how to access a PostgreSQL database from Perl.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Neil Matthew and Richard Stones

About this chapter

Cite this chapter

(2005). Accessing PostgreSQL from PHP. In: Beginning Databases with PostgreSQL. Apress. https://doi.org/10.1007/978-1-4302-0018-5_15

Download citation

Publish with us

Policies and ethics