Okay, lets say I have a MySQL database with these tables
CMS_coolbeans
CMS_talkfreelance
Wildhoney
Pixelgod
I need a small script, that will put the names of the tables with CMS_ in front of them into a dropdown. So it would display: CMS_coolbeans and CMS_talkfreelance but NOT Wildhoney and Pixelgod. The reason I need a script is because my script will be adding and deleting tables often. If possible I would also like the CMS_ to be removed when it displays them in a drop down. I don't need it to interact with the content inside the tables at all.
|