Multiline-columns-counter

saimone

Новичок
Регистрация
14.05.2017
Сообщения
8
Благодарностей
0
Баллы
1
Hi guys,
I need your help to continue my project.
I've got a table with several informations, 2 are importants.
It looks like this:

------- A -------- B
1 --- url1 --- count1
2 --- url2 --- count2
3 --- url3 --- count3

I need to visit url1 only if count1 =0
after visiting url1, => count1=1 and i have to visit URL2 only if count2=0 etc etc....

Could you help me to do that?
Thanks a lot
Best regards from France :-)
 

Nick

Client
Регистрация
22.07.2014
Сообщения
1 963
Благодарностей
796
Баллы
113
Make two tables, sync it with two files. Than you make a cycle where you
Read the first line from input table
Visit or not, update the counter
Write updated info into the output table
Go to the next line of the input table
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)