douduiti3040 2009-12-04 11:41
浏览 106
已采纳

为Joomla或PHP网站准备Mysql数据库

I have a Mysql database of 500+ Real Estate Listings which I am looking to load into an empty Joomla Extension (this may apply to any PHP Script).

I have copied the structure and convention of each table the extension uses - with the idea of either exporting or simply deleting the original tables and replacing them with mine.

Upon testing this concept I end up with a complete mess - My guess is that some of the tables need to have information stored in them before updating others either by Java or PHP.

For example; Client_Info table has to be saved before Property_ Info.

PHPAdmin does not show me the extensions table relationships ( joins, queries etc) I presume they are dealt with through Javascript or PHP.

My Question is what steps do I need to perform to populating the extensions Database.

The extension provider has been saying for months that they were going to provide this process.

If the question is too broad I would be satisfied either with some links or keywords so I can get a handle on the topic.

  • 写回答

2条回答 默认 最新

  • dp610807 2009-12-04 15:41
    关注

    How I would try to solve this:

    1. Check how many db tables the extensions uses
    2. Check in what sequence you would add entries through the web interface (e.g. make category first, then create new record, etc.)
    3. Search the extension code for the table names (without prefix) in order to find out how the code handles the data
    4. Check if there are any other sources of information the extension uses, like a config file (ini, xml, ...)
    5. Build an import script that covers these logics
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥15 深度学习残差模块模型
  • ¥50 怎么判断同步时序逻辑电路和异步时序逻辑电路
  • ¥15 差动电流二次谐波的含量Matlab计算
  • ¥15 Can/caned 总线错误问题,错误显示控制器要发1,结果总线检测到0
  • ¥15 C#如何调用串口数据
  • ¥15 MATLAB与单片机串口通信
  • ¥15 L76k模块的GPS的使用
  • ¥15 请帮我看一看数电项目如何设计
  • ¥23 (标签-bug|关键词-密码错误加密)