-1
$pegacodigos = mysql_query("SELECT CODIGO FROM imovel");
while($codigo = mysql_fetch_array($pegacodigos){ ...
Erasing and writing all over again:
- The
$pegacodigos
through a loop picks up all theCODIGO
on the tableIMOVEL
- Guard as
array
to scroll through this script http://pastebin.com/MPd3cS9C - Start selecting on web-service all photos to
$codigo['CODIGO']
- And starts to insert into the second script database fields as per attached image
This http://pastebin.com/MPd3cS9C does exactly what I want but takes too long to know that he will never be able to perform the task I need.
For me, I have with me that the loop
is in the wrong place causing for every photo he recovers, he makes 1 connection on the web-service or making more loops than necessary. The $res
which is the result of $array
with $client
returns the 55thousand photos, the while
is embracing everything, so there is some problem there causing the extreme slowness.
Help me discover the error of logic?
What purpose of Soap for this array?
– Papa Charlie
The purpose of it is to make the connection and give access to all the data related to each property that is in this remote server.
– Marcos Vinicius