---
title: "php question"  
description: "php question"  
author: "ashutosh singh"  
published: 2015-12-29  
updated: 2015-12-29  
canonical: https://www.mindstick.com/forum/33802/php-question  
category: "php"  
tags: ["phpdoc"]  
reading_time: 1 minute  

---

# php question

1.please tell me about [mvc](https://www.mindstick.com/forum/155803/define-cache-profile-in-mvc) for [php](https://www.mindstick.com/articles/12149/php-constant-and-php-variables) and lareval [framework](https://www.mindstick.com/forum/34615/software-framework-vs-library)?2. how to [convert](https://www.mindstick.com/forum/2093/configurationmanager-appsettings-convert-n-to-n-why) an [html](https://www.mindstick.com/articles/1530/design-a-simple-stylish-calculator-using-html-css-and-javascript) [file](https://www.mindstick.com/articles/59/encrypting-and-decrypting-files-using-c-sharp) to [excel](https://www.mindstick.com/articles/12937/how-to-import-excel-data-in-sql-server-2014) file using php [script](https://www.mindstick.com/interview/477/how-can-i-execute-a-php-script-using-command-line)?

## Replies

### Reply by John Smith

To Convert HTML file to Excel File:\
\
$inputFileType = 'HTML';\
$inputFileName = './HtmlFile.html';\
$outputFileName = './ExcelFile.xlsx';\
$outputFileType = 'Excel2007';\
\
\
$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType);\
$objPHPExcel = $objPHPExcelReader->load($inputFileName);\
\
$objPHPExcelWriter = PHPExcel_IOFactory::createWriter($objPHPExcel,$outputFileType);\
$objPHPExcel = $objPHPExcelWriter->save($outputFileName);


---

Original Source: https://www.mindstick.com/forum/33802/php-question

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
