• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

generate an Excel file using PHP

phpexcelweb-applications


PHP Snippet 1:

//define separator (defines columns in excel & tabs in word) 
$sep = "\t"; //tabbed character 
$fp = fopen('database.xls', "w"); 
$schema_insert = ""; 
$schema_insert_rows = ""; 
//start of printing column names as names of MySQL fields

Related Snippets

Transpose and flatten multiple rows of array data [duplicate]

Remove product downloads section in woocommerce email notifications

How to install PHP composer inside a docker container

How to MODIFY a Google Docs document via API using search-and-replace?

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

Converting array to string and then back in PHP

How to show selected value using javascript in laravel

Check if my GET request has Header: Token

Unable to create lockable file - Laravel 8 & PHP 8

How to get the ID of the link in another page in php

Modify microseconds of a PHP DateTime object

Woocommerce product attributes with hierarchy like categories

Issue with laravel eloquent model property

"There is no active transaction" when refreshing database in Laravel 8.0 test

curl returning 301 error after migrating to https

About Contact Privacy policy Terms and conditions