Fonctions | |
| _rs2serialize (&$rs, $conn=false, $sql='') | |
| & | csv2rs ($url, &$err, $timeout=0, $rsclass='ADORecordSet_array') |
| adodb_write_file ($filename, $contents, $debug=false) | |
Variables | |
| global | $ADODB_INCLUDED_CSV |
| $ADODB_INCLUDED_CSV = 1 | |
| _rs2serialize | ( | &$ | rs, | |
| $ | conn = false, |
|||
| $ | sql = '' | |||
| ) |
convert a recordset into special format
| rs | the recordset |
| adodb_write_file | ( | $ | filename, | |
| $ | contents, | |||
| $ | debug = false | |||
| ) |
Save a file $filename and its $contents (normally for caching) with file locking
| & csv2rs | ( | $ | url, | |
| &$ | err, | |||
| $ | timeout = 0, |
|||
| $ | rsclass = 'ADORecordSet_array' | |||
| ) |
Open CSV file and convert it into Data.
| url | file/ftp/http url | |
| err | returns the error message | |
| timeout | dispose if recordset has been alive for $timeout secs |
| $ADODB_INCLUDED_CSV = 1 |
| global $ADODB_INCLUDED_CSV |
1.5.3