add 20 000 to the rowcnt


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

Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php coding so please can u help me,
the reason i need this is so i can clear the mysql database after it reachs 20 000

this is my code that gets the $rowcnt
Code: [Select]<?php
if ($GetHitCount != "False") {
$SqlResult = MySqlSelect("Select * From traffic_log");
$RowCnt = mysql_numrows($SqlResult);

No comments posted yet

Your Answer:

Login to answer
237 Like 30 Dislike
Previous forums Next forums
Other forums

Sort Alternative/bi-monthly
Hi all,

Am going mad trying to get something to work.

I'm creating a CMS for a magazi

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

Text Not Displaying Correctly With PHP:GD
I recently moved servers and since then I have noticed that one line of text is showing weirdly.

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

Impact of movement type 412 E on MAP
Hi

Usage of movement type 412 E is causing huge change in MAP .

Is there any r

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

dropdown menu
Hello everbody,

I am php newbie.
I need to develop a program that once click the drop do

if description does not contain the following words
Hello everyone,

I am parsing a MS Excel (.xls) file and adding it's content to a mySQL databa

Rss feed question
Hi

My blog and my website are different. Am i able to take my rss feed
from my blog and p

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