drupal创建数据库查询页面
我开始学习 drupal,希望这是一个很容易回答的新手问题,但我的公司基本上拥有一个非常大的数据集,我想将其呈现给公众。
我们对公司进行研究,并拥有一个包含公司名称的数据库以及我们拥有的有关该公司的所有数据(主要是数字/估计)。那么有没有办法创建一个视图来为我们做到这一点呢?
创建单独的页面不太实用,因为我们多年来研究了数千家公司。
如果没有什么简单的事情,那么是否可以创建一个 php 页面,从 url 中获取公司名称,然后查询数据库并将所有数据呈现给用户?
I'm starting to learn drupal and hopefully this is a easy newbie question for you to answer but my firm basically has a very large data set and I want to present it to the public.
We do research on firms and have a database with a company name and all the data we have about the firm(its mainly numbers/estimates). So is there a way to create a view that does this for us?
Creating individual pages is not very practical since we have several thousand companies we have studied over the years.
If there isn't anything easy, then is it possible to create a php page that takes the company name from the url and then queries the database and presents all the data to users?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看一下 views 模块。为特定数据库定制它可能需要一些工作,但一旦完成就非常灵活。
Take a look at the views module. It can take a bit of work to customize it for a specific database, but is very flexible once you do.