this is my code:
http://pastebin.com/y0VHgRNs
Okay Basically, What i need to do is make the system check for a username on every second line here. If that username is there.. it would vote with that username. But the problem is.. it stops at the first request which is when line3 != null
And.. ‘im guessing it needs to log out as well.. How could i possibly drop the cookie container and create a new one or could i just go to a logout.php script?
Hope that’s informative enough, if not leave a comment.
Thanks
It looks like it’s because you’re doing a
while(loopvar < 7)but you’re not resetting the value ofloopvarbefore you do anotherwhile.The first
whilewill loop untilloopvaris 7, but when your try and do anotherwhile,loopvaris already 7, so it won’t run.Add this line just before each
while(loopvar < 7)