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

Calander layout
Hi i know this sounds like a simple question but i cant find the answer to it anywhere i have added

PHP Cannot redeclare class
I have 6 files, and two of them do not seem to want to play well. I keep getting a "Cannot rede

using explode() to fill in checkboxes
Hi

I have a field stored in a table that contains regions in the UK separated by commas. Ther

Help on query replacing the date
Hi Pals,

i want to replace the current date in a column to some value say C or D or any n

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

Sending CC Info by email
I am a little bit less knowledgable in the security area as most developers and I know I have a lot

how to make database item unique
Hey guys,

is it possible to do this:

I have the database item $title being pulled for

Disable Scrollbar in TableControl
Hello everbody,

please can anybody help me - outherwise i'm going to become desperate :P<

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

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