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

Regarding accessing SQL query issued by any user in Oracle 10g
Hi all,
i want to know the queries issued by various users accessing a database...

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for eve

mysql_real_escape_string making variable equal nothing
i post a form and i post the variable:
Code: $var = $_POST[variable];then i echo $var its what i

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

Parse Error Help
Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line

Need help making a script that moves data into acrhive table
Hi,

I'm kinda new to php/mysql

And i wrote a simple script to store sales lead for a b

PHP & MS Access - Line Break
Hey Guys!

I'm pulling records from an MS Access database and listing them using PHP and I'm r

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

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