1
Arowana
SQL PHP coding to hack a module
  • 2005/5/16 1:21

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


I have two websites sharing the same database and I want ONE of my modules to share tables between the two sites so the same data shows up on both sites.

I know the lines I need to change but I dont know what I need to change it to.

Can someone please let me know how I would code this:

FROM " . $xoopsDB->prefix("TableName") . "

My prefix is soe so would it be

FROM "soe_TableName"

Thanks for all your help

2
Dave_L
Re: SQL PHP coding to hack a module
  • 2005/5/16 1:47

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Omit the quotes:

FROM soe_TableName

3
Arowana
Re: SQL PHP coding to hack a module
  • 2005/5/18 18:17

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


Thank You

Login

Who's Online

184 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits