Generate Excel Data in PHP

21 Dec
Create Excel

Create Excel

header("Content-Type: application/xls");
header("Content-disposition: attachment; filename=data.xls");
echo 'Id' . "\t" . 'Item' . "\t" . 'Qty' . "\n";
echo '001' . "\t" . 'Compaq 610 laptop' . "\t" . '02' . "\n";
1 Comment

Posted by on December 21, 2013 in PHP



One response to “Generate Excel Data in PHP

  1. Jerome Stepovich

    December 28, 2013 at 7:54 pm

    usually posts approximately tremendously fascinating gear in the vein of this. If you?re new to this site


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: