How can i replace table name in this query string with another string or table name with php
SELECT
Panel.Id as PanelId,Panel.Title as PanelTitle,Panel.Icon as PanelIcon,
SubPanel.Id as SubPanelId,SubPanel.Title as SubPanelTitle,
SubPanel.Icon as SubPanelIcon,SecurityAccess.Id as Access,SecurityAccess.Controller,
SecurityAccess.Action
FROM Panel
INNER JOIN SubPanel
INNER JOIN SecurityAccess
WHERE
Panel.Id > 0 AND SubPanel.Panel = Panel.Id AND SubPanel.Id = UsersAccess.Subpanel
and SubPanel.Id > 0
ORDER BY Panel._Order,SubPanel._Order
For example: replace "Panel" with "my_panel"
I do not want you to change my String. Just use this string as it exists.