Jump to content


Photo

Not sure but DELETE table or DROP Table how to use it O_O?


  • Please log in to reply
3 replies to this topic

#1 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 05 September 2006 - 09:04 PM

im used to PHPmyADmin but i dont want to do that again sinec i deleted my whole forum -_- so how can i use these in a mysql_query?

#2 Woolf

Woolf
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 05 September 2006 - 09:33 PM

mysql_query("DROP TABLE tablename");

where tablename is the actual name of the table.

#3 roopurt18

roopurt18
  • Staff Alumni
  • Advanced Member
  • 3,749 posts
  • LocationCalifornia, southern

Posted 05 September 2006 - 09:39 PM

If you deleted your entire forum with PHPMyAdmin it's because you don't have a fundamental understanding of MySQL.  Changing from the PHPMyAdmin interface to entering SQL queries directly isn't going to change anything as far as your understanding goes.

My recommendation is to have a local development site on your desktop that mirrors your production site.  This way you can break it all you want on your local machine without worrying about trashing your data on the web.

XAMPP is a useful tool for setting up such a local site.
PHP Forms : Part I | Part II

JavaScript: Singleton

http://www.rbredlau.com

#4 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 05 September 2006 - 11:11 PM

If you deleted your entire forum with PHPMyAdmin it's because you don't have a fundamental understanding of MySQL.


wtf only reason i accidentally deleted my intire forum is because i was trying to delete a table but didn't overlook where i was located in PHPMyADMIN hence me now for security reasons forgeting how to drop a table VIA mysql,PHP

case closed.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users