/[libdata]/branches/pear-db/include/xx_mysql.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/pear-db/include/xx_mysql.php

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

revision 81 by dpavlin, Thu Mar 18 22:20:55 2004 UTC revision 82 by dpavlin, Thu Mar 18 23:15:39 2004 UTC
# Line 33  function xx_num_rows($rs) { Line 33  function xx_num_rows($rs) {
33  }  }
34    
35  function xx_query($sql, $con) {  function xx_query($sql, $con) {
36          return mysql_query($sql, $con);          $ret = mysql_query($sql, $con);
37            if (! $ret) {
38                    print "Error in SQL: <pre>$sql</pre>";
39            }
40            return $ret;
41  }  }
42    
43  function xx_select_db ( $db_nam, $con ) {  function xx_select_db ( $db_nam, $con ) {

Legend:
Removed from v.81  
changed lines
  Added in v.82

  ViewVC Help
Powered by ViewVC 1.1.26