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

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

Transferring session variables into MySQL
I am trying to transfer $_SESSION variables into MySQL. However there is an error in my MySQL statem

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn

Assume I know the fol

Echoing If Function?
A script I am using has If statements in the comments form to basically tell the form what to do. Cu

php multiple action on submit
I have a form which says:

<form enctype='multipart/form-data' method='post' action='pr

Help with setcookie()
Merry Xmas to those on this foruum
Older guy here with some experience but not allot so please be

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?

Let's say I have:

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