Re: PHP: creating combobox in excel sheet?
| From: | Kim Madsen | Date: | Fri, 13 Nov 2009 22:17:05 +0000 |
| Subject: | Re: PHP: creating combobox in excel sheet? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299816@lists.php.net to get a copy of this message | ||
Jim Lucas wrote on 2009-11-13 17:06:
Kim Madsen wrote:Hey I'm working on creating excel sheets from these classes: http://articles.sitepoint.com/article/pear-spreadsheet_excel_writer/3 http://pear.php.net/package/Spreadsheet_Excel_Writer/download/ Does anyone know how to create a combo box from PHP with these (or other classes)? By combobox I mean the <select> / dropdown box in HTML.
Where will your combobox reside?In the excel sheet. Let me clarify my last posting: By combobox I mean _like_ the <select> / dropdown box _is made_ in HTML.
What will your combobox contain/display?some data, could be "yes", "no", "maybe", these 3 data should be in the dropdown box when the user click the arrow. I simply wanna generate the list I can create in OpenOffice calc by selecting data->validity->criteria and select list in "allow" then adding yes[enter]no[enter]maybe[enter]
What are you going to generating your combobox with?PHP was the thought, with data from a database
Are you wanting to build it with one of the two listed software packages?Yes, if possible. Otherwise another class/function is also fine. -- Kind regards Kim Emax - masterminds.dk