This is a discussion on "how to delete tables with a prefix" within the Databases section. This forum, and the thread "how to delete tables with a prefix are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
how to delete tables with a prefix
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
how to delete tables with a prefix
How do I delete tables with a certain prefix eg that starts with php_ all at once. Thanks
|
|
|
|
#2
|
||||
|
||||
|
Re: how to delete tables with a prefix
Try:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: how to delete tables with a prefix
will that delete all the tables including like this php_zebra
|
|
#4
|
||||
|
||||
|
Re: how to delete tables with a prefix
That was wrong actually.
I think this should work but I'm not entirely sure.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#5
|
|||
|
|||
|
Re: how to delete tables with a prefix
|
|
#6
|
||||
|
||||
|
Re: how to delete tables with a prefix
This php should work, found it on a forum.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#7
|
|||
|
|||
|
Re: how to delete tables with a prefix
lemmi try it out
|
|
#8
|
|||
|
|||
|
Re: how to delete tables with a prefix
nothing happens the page is just blank doesn't echo the result droped so nothing has happend and the tables are still there
|
|
#9
|
||||
|
||||
|
Re: how to delete tables with a prefix
You have put in your connection string yeah?
Try replacing :
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
|||
|
|||
|
Re: how to delete tables with a prefix
This is how i connected to my database. Is it right? I still get a blank page
|
|
#11
|
||||
|
||||
|
Re: how to delete tables with a prefix
Did you try the code I posted?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#12
|
|||
|
|||
|
Re: how to delete tables with a prefix
yes the whole thing looks like this now
|
|
#13
|
||||
|
||||
|
Re: how to delete tables with a prefix
You're not getting any error?
Remove the @ before the mysql_connect.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#14
|
|||
|
|||
|
Re: how to delete tables with a prefix
no error at all. i have removed the @ and still thesame. a blank page
|
|
#15
|
||||
|
||||
|
Re: how to delete tables with a prefix
Try changing:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#16
|
|||
|
|||
|
Re: how to delete tables with a prefix
still no output. just let it go i will work with phpMyAdmin
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delete by checkbox | FlashO | Classic ASP | 3 | Mar 30th, 2008 08:42 |