Hi Folks,
I'm building a query to pull names and addresses out of my mySQL db to insert into a csv for upload to FedEx.com address book.
I have the query built, and I am building the csv file now using an intricate echo command. It is erroring, and I think I know why, but not how to avoid it.
The FedEx CSV file has two fields in which the default value is supposed to be "null" - I have it in my command as:
Shortened to make it fit nicely. I can remember needing to do something special to this null value so that the echo statement just echos it and doesn't try to parse it - is it \'null\' or similar?
I know this is easy for someone - give me a hint!
TIA
Nedstar1
I'm building a query to pull names and addresses out of my mySQL db to insert into a csv for upload to FedEx.com address book.
I have the query built, and I am building the csv file now using an intricate echo command. It is erroring, and I think I know why, but not how to avoid it.
The FedEx CSV file has two fields in which the default value is supposed to be "null" - I have it in my command as:
Code:
echo ($row_rs_fedex['mailingID'] . ', ' . 'null' . ', ' . $row_rs_fedex['firstName'])
Shortened to make it fit nicely. I can remember needing to do something special to this null value so that the echo statement just echos it and doesn't try to parse it - is it \'null\' or similar?
I know this is easy for someone - give me a hint!
TIA
Nedstar1