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

New Login Script
Hi all, i attempted to create a whole new login script witch isnt working for some reason i dont kno

Search function
I am looking for some guidance from the experts.

I am trying to create a search function. It

utf8_general_ci error ??
I have all kinds of data to be inserted in database table

//I am getting this error

Yo

Transport data between itab and textfield on ALV event
Hallo,

I have a ALV Grid ( cl_gui_alv_grid ) and I also have hotspot click event with a h

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

Weird problem with SELECT command..Help!
Hi!

It seems I'm having a really weird problem with SQL SELECT command....I have table into a

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

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

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