Jump to content


Photo

Count++


  • Please log in to reply
1 reply to this topic

#1 Spixxx

Spixxx
  • Members
  • PipPip
  • Member
  • 29 posts

Posted 12 March 2006 - 07:04 AM

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?

#2 keeB

keeB
  • Staff Alumni
  • Advanced Member
  • 1,078 posts
  • LocationCalifornia

Posted 12 March 2006 - 08:00 AM

[!--quoteo(post=354113:date=Mar 12 2006, 07:04 AM:name=Spixxx)--][div class=\'quotetop\']QUOTE(Spixxx @ Mar 12 2006, 07:04 AM) View Post[/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,

Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users