[REQUEST]Get data from Non phpBB DB & insert into phpBB

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
User avatar
OmegaQuest
Registered User
Posts: 76
Joined: Mon Sep 01, 2003 9:12 pm
Location: Washington, DC

[REQUEST]Get data from Non phpBB DB & insert into phpBB

Post by OmegaQuest »

Does anyone have a Simple script to take a field from a different Non phpBB Database and have it insert the info into the phpBB_users on a different Database ?

I'm trying to get Data from a Stats Database and put the Users Stats into phpBB_user Table...

I already have everything set up to put the value that's in the phpbb_users table into the forum where I want it, I just need to get the Data from the other database into the phpBB one...

Thanks a lot :)
User avatar
OmegaQuest
Registered User
Posts: 76
Joined: Mon Sep 01, 2003 9:12 pm
Location: Washington, DC

Post by OmegaQuest »

Grab the skill and name fields and move them to another place on the SAME database?

But only if the 2 yyy fields match will the fields be copied over to the other placeholder for that user ?

So that means I would need the script to first match the yyy field for the stats and in another section of the Database have the section named yyy. If they match then it will place that user’s skill and name in the phpbb_users table under that users name

Example:

if table phpbb_plr field(yyy)

is equal to

table phpbb_users field(yyy)

Copy

table phpbb_plr fields(skill,name) Info

to -->

table phpbb_users fields(skill,name)

Thanks a lot for taking the time to help me...
Post Reply

Return to “[2.0.x] MOD Requests”