Back to index

php5  5.3.10
config.inc
Go to the documentation of this file.
00001 <?php
00002 // These vars are used to connect db and create test table.
00003 // values can be set to meet your environment
00004 
00005 $conn_str = "host=localhost dbname=test";    // connection string
00006 $table_name = "php_pgsql_test";  // test table that should be exist
00007 $num_test_record = 1000;         // Number of records to create
00008 
00009 $table_def = "CREATE TABLE php_pgsql_test (num int, str text, bin bytea);"; // Test table 
00010 $field_name = "num";             // For pg_field_num()
00011 
00012 ?>