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");
$RowCnt = mysql_numrows($SqlResult);

No comments posted yet

Your Answer:

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

Javascript using window.location seems to lose state
Not sure what forum so let me know if I'm in the wrong place. I have a main window with a ajax grid

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

Frustrated php Newbie
First off, I am pretty much a PHP nub. I can read and understand the language (most of the time) so

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

How to use php and sql to check if values match the ones in a table (for logins)
How would I code it that the script takes two variables that are passed to it (UserID and PIN), and

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Displaying Multidimensional Arrays...about to put my head in a vice, PLEASE HELP
I am fairly new to PHP and MySQL and I have a problem which I have been trying to resolve for days.

need help in dynamic select menu in php
hi i have created a dynamic select menu using php. i have a problem in that which is when the user s

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

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