Hi guys, recently im faceng one problem.
i need to nake a queries from external link.
The good example is:
The website
www.example1.com
sell some products, and this website have reseller guy called
www.example2.com
so reseller he want all weeks get updated about prices from suply using queries like
www.example1.com?id=1234, example1.com?id=12345, example1.com?id=12346
for now im getting this value using parse external page and im getting the result wiht
<?php
$url = 'https://example1.com?id=1234';
echo file_get_contents($url);
?>
So what i want is make this querie automatilly with ajax, and the result of
?id=1234
must be replced with one variable, making a loop, and that loop the ids are coming from mysql.
something like today is friday the loop start.
the ajax go to database get ids and make queries to example1.com and save the results somewhere. can be csv or sql.
Please guys hi hope get some help from you.