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

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

$get problem
Hi Guys ...

can you please tell me what i am doing wrong here
Code: <?php

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array..

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

simple php table loop
Hi all,

I've the following code

<?php // Create category options

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