GeekArticles
Operating Systems
Linux


Linux Journal: Web Applications With PHP And PostgreSQL
Tim Perdue Here is the code from my Linux Journal article on how to build a business application using PostgreSQL's transactions and PHP4. Download Code Common.php <?php //connect to postgres database $conn = pg_pconnect ( "user=tperdue dbname=linuxjournal" ); //see if our connection was successful if (! $conn ) { //connection failed - exit the page with an error //you could also try to proceed without the //database - it's up to you echo pg_errormessage ( $conn ); exit; } //now let's...n
Sponsored Links
Read Next: Linux Multithreading Advances
Related Topics
Subscribe via RSS
Linux
- Linux Journal: Web Applications With PHP And PostgreSQL
- Linux Multithreading Advances
- Linux Laptop Sound Configuration
- Wireless on Linux, Part 2
- Linux links wirelessly
- Lycoris: A Linux OS Good for Grandma
- Gentoo Linux Reloaded
- PAM, Reverse-Engineering Games, Linux for Finance, and the PHP ch-functions
- Building KDE themes for Linux
- Linux 2.4 stateful firewall design