I\'m trying to use PHP to create a file containing a list of phone numbers. It\'s working OK however if the phone number begins with zero, the digit is dropped from the Exce
If for some reason the answers above don't work, you can simply try to wrap your data in quotes, something like this:
setCellValue('A1, '"' . $phone . '" ')
But your value will be surrounded by quotes in your file as well.