bhawap Posted October 22, 2009 Share Posted October 22, 2009 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 <?php if ($GetHitCount != "False") { $SqlResult = MySqlSelect("Select * From traffic_log"); $RowCnt = mysql_numrows($SqlResult); Quote Link to comment https://forums.phpfreaks.com/topic/178589-solved-add-20-000-to-the-rowcnt/ Share on other sites More sharing options...
Daniel0 Posted October 22, 2009 Share Posted October 22, 2009 Uh... Like this? $RowCnt += 20000; Quote Link to comment https://forums.phpfreaks.com/topic/178589-solved-add-20-000-to-the-rowcnt/#findComment-941868 Share on other sites More sharing options...
bhawap Posted October 22, 2009 Author Share Posted October 22, 2009 thanks alot Quote Link to comment https://forums.phpfreaks.com/topic/178589-solved-add-20-000-to-the-rowcnt/#findComment-941876 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.