I am trying to insert a blank row into a CSV export and the export is not writing anything at all
I am sure that I am not formatting the line correctly:
Before adding the line to insert:
$sql = "SELECT ";
$sql .= 'Contact_Id as "Contact ID",';
$sql .= 'Company_Id as "Account ID",';
$sql .= 'Last_Name as "Last Name",';
$sql .= 'First_Name as "First Name",';
$sql .= 'Title as "Salutation",';
after
$sql = "SELECT ";
$sql .= 'Contact_Id as "Contact ID",';
$sql .= 'Company_Id as "Account ID",';
$sql .= 'as "Inserted Name",'; // this is the line that I am trying add to the CSV export for the blank column
$sql .= 'Last_Name as "Last Name",';
$sql .= 'First_Name as "First Name",';
$sql .= 'Title as "Salutation",';
I have tried these different lines and it still doesn't work:
$sql .= 'as "Inserted Name",';
$sql .= ' as "Inserted Name",';
$sql .= '"" as "Inserted Name",';
$sql .= '' ' as "Inserted Name",';
any help would be appreciated
Thanks
Mike