Results 1 to 3 of 3
March 25th, 2006, 03:31 PM #1Empty A MySQL Database Using PHP
I was wondering if anyone could help me out...
I need to be able to empty a Mysql Table from within an Admin area.. that is already "hooked" up to the database....
I just want to be able to delete ALL RECORDS with a text link....
March 25th, 2006, 04:21 PM #2
you still have to execute a sql command to truncate the db - using php to send the send the command to do it.
there's a number of ways you can use a link to fire off the php to make it happen, form that actions it then refreshes the page, separate window that fires it off, etc...
March 25th, 2006, 04:29 PM #3
By samanesh in forum Programming / Datafeeds / ToolsReplies: 2Last Post: September 6th, 2010, 11:32 AM
By Cheesehead in forum Programming / Datafeeds / ToolsReplies: 17Last Post: February 19th, 2007, 02:38 PM
By Snib in forum Programming / Datafeeds / ToolsReplies: 10Last Post: September 8th, 2006, 01:24 AM
By Kimmyshop in forum Midnight Cafe'Replies: 7Last Post: July 28th, 2005, 05:28 AM
By ~Michelle in forum Programming / Datafeeds / ToolsReplies: 2Last Post: March 26th, 2004, 01:59 PM