简体   繁体   English

从Excel读取数据以在Jquery和PHP中使用自动完成功能填充文本字段

[英]Reading data from excel to populate a text field using auto complete in Jquery & PHP

I have been working on JQuery & JQuery mobile and PHP to develop a mobile optimized website,i have come to an instance where I need to make my text field implement the Jquery auto-complete , also i need to fetch data from an excel sheet . 我一直在研究JQuery&JQuery mobile和PHP,以开发经过移动优化的网站,我遇到了一个实例,我需要使我的文本字段实现Jquery自动完成功能,还需要从excel工作表中获取数据。 Usually, PHP fetches data from MySql database but in my case i am fetching data from an excel sheet and i am just not able to figure this out? 通常,PHP从MySql数据库中获取数据,但就我而言,我是从Excel工作表中获取数据,而我只是无法弄清楚? Any help will be appreciated? 任何帮助将不胜感激?

Thanks. 谢谢。

Howabout reading the excel into mysql on the first load of the excel so it can go from mysql in the future (faster). 如何在第一次加载Excel时将excel读取到mysql中,以便将来(更快)从mysql中读取。 This class will handle that http://sourceforge.net/projects/phpexcelreader/files/ but I believe it only works for .xls and not .xlsx. 此类将处理该http://sourceforge.net/projects/phpexcelreader/files/,但我认为它仅适用于.xls而不适用于.xlsx。 Or is it that the user uploads the excel file each time? 还是用户每次都上传excel文件?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM