Hi guys,
I want to delete a particular table from Mysql database at month end with PHP. I dont know whether its possible or not.....i want some suggestions from your end. I dont want to manually delete the table at the end of Month. Can PHP do that ????
Auto Deleting a MySql table at month end with php
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Auto Deleting a MySql table at month end with php
You can call a PHP script from a cron job. The PHP script can connect with the database and execute any SQL statements you want -- such as deleting a database (or all records in it).
(#10850)
Re: Auto Deleting a MySql table at month end with php
Can you tell me how to do it ?