Ok, I look "briefly" in this forum for some hints, no luck.
Here is what I have.
I'm pulling data from a foreign database and populating my database. (Real Estate)
The data comes in 2 feeds. "listings" and "listing_images"
I have created 2 tables in my database, "listings" and "listing_images". (The are multiple images for each listing.)
To keep this simple, I'm only going to name a few columns!
listings= listing_id, internal_listing_id
listings_images= internal_listing_id, index (which will be 1, 2, etc, etc)
Usually, to display all the images, all I would need to do is match up the images with the "listing_id".......
Here is the problem...
The image feed only consists of the internal_id and index.
The actual images are labeled with the "listing_id" !!!
E.G. from a listing
(Table>listings)
listing_id = 08-2334
internal_listing_id = 20045677896600
(Table>listings_images)
internal_listing_id = 20045677896600
index = 1 (2, _3, etc.)
Actual Image name = 08-2334.jpg
How do I go about renaming listings_images.internal_listing_id to match that of listings.listing_id ???
Sorry if it seems confusing, and I have no clue why the MLS provider has marked it this way!
Any help would be highly appreciative!:eek: