$sql = "SHOW TABLES LIKE 'cms_%'"; $query = mysql_query($sql); $rows = array(); while($row = mysql_fetch_array($query)) { $rows[] = substr($row[0], 4); } if (count($rows) == 0) { echo 'No tables matching <strong>cms_</strong>...'; } else { echo implode('<br>', $rows); }
Home | | News | Rules | FAQ |
The time is now 09:07 PM (GMT).
Powered by: vBulletin Version 3.8.4 Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.