baber_abbasi Posted June 28, 2003 Share Posted June 28, 2003 Hi, Plz tell me how can I drop a table created already in my database by using mysql_query() function. Thankx Quote Link to comment https://forums.phpfreaks.com/topic/647-drop-table/ Share on other sites More sharing options...
rhysmeister Posted June 30, 2003 Share Posted June 30, 2003 $sql = \"DROP TABLE $tablename;\"; mysql_query($sql); From one of my applications. I use a html form to submit the table name. Quote Link to comment https://forums.phpfreaks.com/topic/647-drop-table/#findComment-2178 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.