dsfo22654 2019-01-07 06:07
浏览 24

如何在Wordpress主题页面上集成SteveMorse.org PHP数据库

I created a PHP engine database using the SteveMorse.org 'One-Step' database system. 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.

I created a child theme, created a template for 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). 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. I'm self-taught and don't know much php but can follow directions. My guess is that all I need is the correct coding on my functions.php file, and/or some other file. 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. Sorry for the long post. TIA, Ron

  • 写回答

1条回答 默认 最新

  • dongzexi5125 2019-01-12 15:40
    关注

    Found the solution . . . . easy peasy. Create a Wordpress sub-domain; add the sub-domain folder in Public_html and add the files. Link from Wordpress page to the index.html search form.

    评论

报告相同问题?

悬赏问题

  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算