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

PHP & Images [Resize, Crop, Save]
Hey! Well I have a little dilema, hoping I could find some guidance.

I have a CMS and on the

Any decent php formatter/beautifier/pretty printer?
Any decent php formatter/beautifier/pretty printer class/function?

I found the following whil

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

newbie question
Hi out thereIm totaly new in this forum and to .net and vb so here is a totaly newbie question.I wan

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Menu restriction
How can I restrict the individual menu that would appear when a user logs in so that all users are c

Batch update record with Pagination
Hoping someone can help me with this issue I'm having, im trying to batch update records from a resu

Curl & sessions PLS HELP
Hello,

I have a problem with curl and sessions and i will try to explain the best i could.

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

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