Jump to content

sw41

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by sw41

  1. I want to do a poll thru email where I send out emails to my mailing list and in each email is a link with their response, so if I was to ask my league "what color jersey should we pick?", there be a list of choices (blue, green, red) in the email, and all the user has to do is click on the choice and the http: link of the choice they click on adds a count to the central poll question. Is there a script or app out there that will allow me to do this? This would be similar to the email activation script, just applied to a poll.
  2. I need to make a sports league draft system to do our draft with. We have 200+ players and put 20 per team so signups determine how many teams we have. In doing the draft, I am wanting to let the captains pick which player gets picked. In each round, the captain could pick a player that has a 2nd automatic pick (their brother wants to be on the same team) so I need to be able to add in the next pick. So Capt01 takes #22 in round 3 and the brother will count as Capt01's pick for Round 4 After about 7 rounds, we end up changing to 2 picks per round. Capt02 picks #50 and #60 in round 7 and this should not count as their round #8 picks... I would probably do #50 in round 7 and #60 as round 20's pick. If I was to list out the rounds and the captains who get a pick, then put next to it a form with a post statement to my database, I would end up with 200 forms and post statements. Knowing very little about PHP, I wonder if this is wise or if there is a better way? With the strange order we do picks (round 1 - 1,2,3,4 : round 2 - 2 3 4 1: round 3 - 3 4 1 2) I was hoping to have a list of whom is up next some how. This seems easier than how I explained it...
  3. That is awesome! It gets me the 1st half of the line: 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 1 1 8 7 6 5 4 3 2 How do I reverse the J loop to do the 2nd half?
  4. If there an easy way to make a loop that makes this sequence of numbers where I define $x and then it sequences like below? 1 2 3 4 5 6 7 8 $x $x 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 $x 1 1 $x 8 7 6 5 4 3 2 3 4 5 6 7 8 $x 1 2 2 1 $x 8 7 6 5 4 3 4 5 6 7 8 $x 1 2 3 3 2 1 $x 8 7 6 5 4 ... and so on until all numbers are used $x 1 2 3 4 5 6 7 8 8 7 6 5 4 3 2 1 $x Thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.