Jump to content

Archived

This topic is now archived and is closed to further replies.

Spixxx

Count++

Recommended Posts

Hi, I am making a click tracker, ie:

Link Name [# Downloads]

Ive done it with flat file db, but is it possible to make the # variable countup and SAVE?

I know if you do

$number = 0;
$number++;

and echo it, $number will be 1, but it doesnt save. Is it possible w/out DBs?

Share this post


Link to post
Share on other sites
[!--quoteo(post=354113:date=Mar 12 2006, 07:04 AM:name=Spixxx)--][div class=\'quotetop\']QUOTE(Spixxx @ Mar 12 2006, 07:04 AM) [snapback]354113[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi, I am making a click tracker, ie:

Link Name [# Downloads]

Ive done it with flat file db, but is it possible to make the # variable countup and SAVE?

I know if you do

$number = 0;
$number++;

and echo it, $number will be 1, but it doesnt save. Is it possible w/out DBs?
[/quote]

yeah.. but not advised. you can do it with a file. using fopen() function,

Share this post


Link to post
Share on other sites

×

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.