Jake Junior Member
<(o.O<) (>O.o)> Posts: 127 Status: Offline Gender: Male Location: United States Joined:
pmwwwmsn | Php question (27th Mar 08 at 6:55pm UTC) | | I'm making a website called killpeeps.. (Yes, I know it's an odd name) Anyways, everytime a NEW visitor comes and clicks a button/link, a number gets higher, example:
I go to www.KillPeep.com/killapeep.php (FAKE) It has a button on it that says "KILL A PEEP", and when the NEW visitor comes and clicks that, it brings them to a screen on www.KillPeep.com/peepkilled.php which says how many peeps that have been killed, including the one you killed.. lol I know it' odd again but yeah. | |
|
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Php question (27th Mar 08 at 6:59pm UTC) | | So it's a collective thing?
What I would do is set a cookie when the person clicks the button, then do the 'php' part.
Also, to 'show' just 1 field in a database! | |
|
Jake Junior Member
<(o.O<) (>O.o)> Posts: 127 Status: Offline Gender: Male Location: United States Joined:
pmwwwmsn | Re: Php question (28th Mar 08 at 4:48pm UTC) | | Well, I don't know cookies very well, do you know anywhere I can learn?
I'll try W3Schools or Tizag - but thanks Wrighty. | |
|
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Php question (28th Mar 08 at 5:29pm UTC) | | ye, try w3schools! | |
|
Jake Junior Member
<(o.O<) (>O.o)> Posts: 127 Status: Offline Gender: Male Location: United States Joined:
pmwwwmsn | Re: Php question (28th Mar 08 at 5:37pm UTC) | | Nevermind, I have a better idea, i'll put a stat counter on the peepkilled.php page! For every unique visitor.. | |
|
|