Loop?
Posted: Wed Sep 15, 2010 4:52 pm
hey all I dont have any code to this so I am looking to get some ideas of how the code would work.
I am creating this system like a surfing site but its not I basically want to read teh column "site_url" from table "site" and if possible I want to have it either ramdom pick like 15 sites or maybe view them all but if there is over 100 sites that a long time so I want to do it to 15 or 20 sites and then when at the end of that have it add money to there account which i know how to add money just i need to know where in this code to add that code if that makes sence.
I also need to set a timer like 10 seconds or something
I am pretty sure its a loop or maybe a while but I am not entirly sure.
If someone can help me out it would be a major help
Thanks
I am creating this system like a surfing site but its not I basically want to read teh column "site_url" from table "site" and if possible I want to have it either ramdom pick like 15 sites or maybe view them all but if there is over 100 sites that a long time so I want to do it to 15 or 20 sites and then when at the end of that have it add money to there account which i know how to add money just i need to know where in this code to add that code if that makes sence.
I also need to set a timer like 10 seconds or something
I am pretty sure its a loop or maybe a while but I am not entirly sure.
If someone can help me out it would be a major help
Thanks