vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: Php question - View Topic
Topic Rating: *****
Printable View
Jake
Junior Member
**

<(o.O<) (>O.o)>

Posts: 127
Status: Offline
Gender: Male
Location: United States
Joined:  
Reputation: 0%  


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.

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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! {Unsure}
Jake
Junior Member
**

<(o.O<) (>O.o)>

Posts: 127
Status: Offline
Gender: Male
Location: United States
Joined:  
Reputation: 0%  


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.

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Php question (28th Mar 08 at 5:29pm UTC)
ye, try w3schools! {Smile}
Jake
Junior Member
**

<(o.O<) (>O.o)>

Posts: 127
Status: Offline
Gender: Male
Location: United States
Joined:  
Reputation: 0%  


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.. {Tongue Out}

Image
 Printable View

All times are GMT+0 :: The current time is 8:19am
Page generated in 0.5198 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums