Parent Directory | Revision Log | Patch
branches/pear-db/my2pg/xx_mysql.php revision 48 by dpavlin, Fri Mar 5 13:45:55 2004 UTC | branches/pear-db/include/xx_mysql.php revision 77 by dpavlin, Thu Mar 18 22:20:55 2004 UTC | |
---|---|---|
# | Line 10 function xx_errno() { | Line 10 function xx_errno() { |
10 | return mysql_errno(); | return mysql_errno(); |
11 | } | } |
12 | ||
13 | function xx_fetch_array ($rs) { | define("xx_ASSOC", mysql_ASSOC); |
14 | return mysql_fetch_array($rs); | |
15 | function xx_fetch_array ($rs, $t = 0) { | |
16 | if ($t == 0) { | |
17 | $ret = mysql_fetch_array($rs); | |
18 | } else { | |
19 | $ret = mysql_fetch_array($rs, $t); | |
20 | } | |
21 | print "result:"; | |
22 | var_dump($ret); | |
23 | return($ret); | |
24 | } | } |
25 | ||
26 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |