PHP Classes

File: dump_data.php

Recommend this page to a friend!
  Classes of Andris Causs   SQL2CSV   dump_data.php   Download  
File: dump_data.php
Role: Example script
Content type: text/plain
Description: Example anchor target
Class: SQL2CSV
Output MySQL query in the CSV format
Author: By
Last change:
Date: 17 years ago
Size: 251 bytes


Class file image Download
require_once 'class.sql2csv.php';
$params = array(
'host' => 'hostname',
'user' => 'username',
'password' => 'password',
'database' => 'database'
$query = 'SELECT * FROM tablename';
SQL2CSV($params, $query);