[英]How to integrate a SteveMorse.org PHP database on a Wordpress Theme page
I created a PHP engine database using the SteveMorse.org 'One-Step' database system. 我使用SteveMorse.org“一步”数据库系统创建了一个PHP引擎数据库。 https://stevemorse.org/create/faq.htm The database works fine on my non-wordpress domain: http://ronaldimiller.com/companyL/index2.html Now I have a Wordpress site and would like to migrate the database.
https://stevemorse.org/create/faq.htm该数据库在我的非wordpress域上运行良好: http : //ronaldimiller.com/companyL/index2.html现在,我有一个Wordpress网站,想迁移数据库。
I created a child theme, created a template for php. 我创建了一个子主题,为php创建了一个模板。 The database search form is on a Wordpress page and when run, generates a 'Can't read database' which is a text file (Tab delimited).
数据库搜索表单位于Wordpress页面上,运行时会生成一个“无法读取数据库”,它是一个文本文件(制表符分隔)。 This indicates to me that the form reads the engine.php file but can't read the database and thus can't display the data output.
这向我表明该表单读取了engine.php文件,但无法读取数据库,因此无法显示数据输出。 I'm self-taught and don't know much php but can follow directions.
我是自学成才的,不太了解php,但可以按照说明进行操作。 My guess is that all I need is the correct coding on my functions.php file, and/or some other file.
我的猜测是,我所需要的只是在functions.php文件和/或其他文件上的正确编码。 Any suggestions would be appreciated.
任何建议,将不胜感激。 I know an alternative would be to use mySQL but I've never used it and hope I can migrate the database that I created and works.
我知道一种替代方法是使用mySQL,但我从未使用过它,希望我可以迁移我创建并工作的数据库。 Sorry for the long post.
抱歉,很长的帖子。 TIA, Ron
TIA罗恩
Found the solution . 找到了解决方案。 .
。 .
。 .
。 easy peasy.
十分简单。 Create a Wordpress sub-domain;
创建一个Wordpress子域; add the sub-domain folder in Public_html and add the files.
在Public_html中添加子域文件夹并添加文件。 Link from Wordpress page to the index.html search form.
从Wordpress页面链接到index.html搜索表单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.