jasonrogena / jasonrogena/php-excel-reader

How do i select a sheet within a work book?

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Hi
I am very new to this so please any1 that can help it would be much
appreciated.

I have been looking for ages now for a reader i found this google one which
works but i have a xls file workbook with multiple sheets. Im trying to
modify this code to get it to look between the sheets if that makes sense?

Please note the below works!! just need help on how to make it do what i
need it to. I would like to be able to get it to cross search/read the
workbook (sheets).

Any help would be much appreiciated

I have attached all 3 files.

example.php

table.excel {
border-style:ridge;
border-width:1;
border-collapse:collapse;
font-family:sans-serif;
font-size:12px;
}
table.excel thead th, table.excel tbody th {
background:#CCCCCC;
border-style:ridge;
border-width:1;
text-align: center;
vertical-align:bottom;
}
table.excel tbody th {
text-align:center;
width:20px;
}
table.excel tbody td {
vertical-align:bottom;
}
table.excel tbody td {
padding: 0 3px;
border: 1px solid #EEEEEE;
}

dump(true,true);

?>

```

Original issue reported on code.google.com by `yor...@gmail.com` on 8 Aug 2009 at 8:22

Attachments:
- [book1.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-41/comment-0/book1.xls)
- [example.php](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-41/comment-0/example.php)
- [excel_reader2.php](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-41/comment-0/excel_reader2.php)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the attached excel_reader2.php and example.php to understand how Spreadsheet_Excel_Reader loads and dumps workbook data. Check whether the existing reader exposes sheet selection or traversal; done should mean the requested workbook sheets can be searched or read, with the behavior demonstrated in the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.