php - A Wordpress Page to display custom database query results

I am quite new to WordPress. I want to create a report page where I can put some Html and PHP code to query MySQL databa

I am quite new to WordPress. I want to create a report page where I can put some Html and PHP code to query MySQL database and show the result as HTML. If I create a page from Pages option - I can not put any PHP code inside it - Can I?

Once that page is set up, the admin user can go to that page to see the report.

What is the best approach for it? 1. Plugin 2. Create a php file 3. Create a block (Not reusable functionality though - just for the specific page) 4. Any other approach

I tried to find out several plugins but none of them is free and allows what I am willing to do.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745307738a4621814.html

相关推荐

  • php - A Wordpress Page to display custom database query results

    I am quite new to WordPress. I want to create a report page where I can put some Html and PHP code to query MySQL databa

    6小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信