wget question

Hi,

I need some guidance about wget. I am able to run the script as below;

which i have list of staff id in staffid.txt. But the problem is each staffid referred to the same txid ( in this case txid=123456). How i can insert unique txid for each staffid and run it?

Is it i need to list down all txid in one file? but how i can do that?
Or any other way run random txid?

-malaysoul-

anyone can help me?

Appreciated ur help.

-malaysoul-

I'm still waiting the solution. Please help me to solve the problem. TQ!!

-malaysoul-

#!/usr/bin/ksh

TXID=123456

while do read STAFFID
wget "http://www.super.com/txid=$\{TXID\}&staffid="$\{STAFFID\}"&status=success"
((TXID=${TXID}+1))
done < staffid.txt