Cita:
<?php
include ("../conectar.php");
$sql = "SELECT * INTO OUTFILE '/var/tmp/clientes.csv' FIELDS TERMINATED BY ':' OPTIONALLY ENCLOSED BY ';' LINES TERMINATED BY '\n' FROM clientes where borrado = 0";
$rs_operacion=mysql_query($sql);
?>
include ("../conectar.php");
$sql = "SELECT * INTO OUTFILE '/var/tmp/clientes.csv' FIELDS TERMINATED BY ':' OPTIONALLY ENCLOSED BY ';' LINES TERMINATED BY '\n' FROM clientes where borrado = 0";
$rs_operacion=mysql_query($sql);
?>