You are here: Re: How to delete a MySQL database table without system() « PHP Programming Language « IT news, forums, messages
Re: How to delete a MySQL database table without system()

Posted by Kimmo Laine on 06/15/98 11:23

"Hartmut Jaeger" <hartmut.jaeger@jaeger-edv-service.de> kirjoitti
viestiss�:1123410202.130280.220900@g14g2000cwa.googlegroups.com...
>I want to delete a MySQL table without using functions of the OS, so
> that my php script can run on any webserver. Can I use a command like
>
> $sql = "DELETE FROM tablename";
>
> or are there better ways to do the job?
>
> Thanks for answers, Hartmut


DROP <name of table>

http://mysqld.active-venture.com/DROP_TABLE.html

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <eternal.erectionN0@5P4Mgmail.com>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация