/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (hide annotations)
Fri Mar 5 13:45:55 2004 UTC (20 years ago) by dpavlin
Original Path: branches/pear-db/my2pg/xx_mysql.php
File size: 687 byte(s)
moved mysql_ -> xx_ cludges to my2pg dir

1 dpavlin 39 <?php
2    
3     # convert calls to xx_ SQL to mysql
4    
5     function xx_connect ( $db_srv, $db_usr, $db_pwd ) {
6     return mysql_connect ( $db_srv, $db_usr, $db_pwd );
7     }
8    
9     function xx_errno() {
10     return mysql_errno();
11     }
12    
13     function xx_fetch_array ($rs) {
14     return mysql_fetch_array($rs);
15     }
16    
17    
18     function xx_insert_id($con) {
19     return mysql_insert_id($con);
20     }
21    
22     function xx_num_rows($rs) {
23     return mysql_num_rows($rs);
24     }
25    
26     function xx_query($sql, $con) {
27     return mysql_query($sql, $con);
28     }
29    
30     function xx_select_db ( $db_nam, $con ) {
31     return mysql_select_db ( $db_nam, $con );
32     }
33    
34     function xx_data_seek($rs, $element_nr) {
35     return mysql_data_seek($rs, $element_nr);
36     }
37    
38     function xx_error() {
39     return mysql_error();
40     }
41    
42     ?>

  ViewVC Help
Powered by ViewVC 1.1.26