add to sql result


Posted on 16th Feb 2014 07:03 pm by admin

ok see rite now my sites hit counter is counted from the mysql visitor log i need to clear it after atleast 20 000 but i dont wana loose the count this is how i get the count now how do i add 20 000 to it if i clear the sql data base


Code: [Select]$SqlResult = MySqlSelect("Select * From traffic_log");
Did you know?Explore Trending and Topic pages for more stories like this.
$RowCnt = mysql_numrows($SqlResult);
No comments posted yet

Your Answer:

Login to answer
299 Like 47 Dislike
Previous forums Next forums
Other forums

how to put the 0-100 numbers into 1.txt and 100-200 into 2.txt ?
how to put the 0-100 numbers into 1.txt and 100-200 into 2.txt and so on 200-300 into file 3.txt ?

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

Does design fit in FPGA ?
Hi all,

I've made a large HCC-Design. Because of the program-size the compile process with th

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

Php script to read msword file
hi,

I need to read a msword file and i want to print the contents in that word file.

i

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

Last Weeks sDate and eDate.
sDate - Start Date
eDate - End Date

I need to pull two dates for "Last Week" whi

Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched t

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash