Posted by Kimmo Laine on 10/01/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]
|