Page 1 of 1

Loop?

Posted: Wed Sep 15, 2010 4:52 pm
by nite4000
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

Re: Loop?

Posted: Thu Sep 16, 2010 12:22 am
by requinix
Yeah... That story has a bunch of missing pieces.

"Surfing site"? A "long time" to do what? Add what money to whose account? What's the timer for?

Re: Loop?

Posted: Thu Sep 16, 2010 6:21 am
by nite4000
there are no missing parts I explained what I was trying to do. please re-read what I said AGAIN.

Re: Loop?

Posted: Thu Sep 16, 2010 6:41 am
by greyhoundcode
nite4000 wrote:... if that makes sence.
Debatable 8O

Re: Loop?

Posted: Thu Sep 16, 2010 2:57 pm
by internet-solution
nite4000 wrote:there are no missing parts I explained what I was trying to do. please re-read what I said AGAIN.
I read it three time ... but none the wiser :dubious:

Re: Loop?

Posted: Thu Sep 16, 2010 3:13 pm
by John Cartwright
nite4000 wrote:there are no missing parts I explained what I was trying to do. please re-read what I said AGAIN.
Clearly nobody understands what your trying to accomplish. I would suggest you write your post more clearly and in further detail.

Not to mention, if someone says they don't understand what your trying to do, generally nobody else will.