/[phpcompta]/phpcompta/include/postgres.php
ViewVC logotype

Diff of /phpcompta/include/postgres.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by sparkyx, Sun Feb 6 01:27:11 2005 UTC revision 1.15 by sparkyx, Sun Mar 6 16:00:28 2005 UTC
# Line 99  function DbConnect($p_db=-1,$p_type='dos Line 99  function DbConnect($p_db=-1,$p_type='dos
99  function ExecSql($p_connection, $p_string) {  function ExecSql($p_connection, $p_string) {
100    echo_debug(__FILE__,__LINE__,"SQL = $p_string");    echo_debug(__FILE__,__LINE__,"SQL = $p_string");
101    
102    $ret=pg_exec($p_connection,$p_string);    $ret=pg_query($p_connection,$p_string);
103    if ( $ret == false ) {    if ( $ret == false ) {
104      echo_error ("SQL ERROR ::: $p_string");      echo_error ("SQL ERROR ::: $p_string");
105      exit(" Operation cancelled due to error : $p_string");      exit(" Operation cancelled due to error : $p_string");

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26