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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0018-5_15
Publisher Name: Apress
Print ISBN: 978-1-59059-478-0
Online ISBN: 978-1-4302-0018-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books