Hi everyone!
I want to be able to put some PHP code into WebsiteA so that it talks to WebsiteB's database - and displays different content in WebsiteA's page.
For example, if WebsiteA has variables "a" and "b".. then this is sent over to WebsiteB, searched thru the DB, and "apple" and "banana"...
Yes.. lol..
This is completely legal.. websiteA will put the script in because they want to display different things.. but these things come from websiteB.
I know I have to use a script (PHP).. but that's where i'm stuck.
I'm not sure how i would have php code on websiteA, send variables back...
Thanks everyone for the quick replies!!
I'm not sure if the answer lies within these replies, but i'm still somewhat confused. Let me explain clearly what i'm trying to do.
I want to be able to put some script code (PHP or JS) into WebsiteA so that it talks to WebsiteB's database - and...
I am wondering if this is even possible:
When someone clicks on a link that looks like this:
www.domainname.com/?a=123, I am trying to use javascript to grab the value for "a" (which in this case is 123), and then request information from a PHP page on another site that corresponds to the value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.