Removing part of a string in PHP

Posted by Nik on Stack Overflow See other posts from Stack Overflow or by Nik
Published on 2010-06-09T21:33:57Z Indexed on 2010/06/09 21:42 UTC
Read the original article Hit count: 145

Filed under:
|
|
|

I'm trying to take a query:

SHOW TABLES;

which will display a bunch of tables with the chat_ prefix. I want to remove the chat_ prefix from the string, format the variable (with a link), and display it. How is this accomplished?

© Stack Overflow or respective owner

Related posts about php

Related posts about sql