PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Thanks arborint for your reply,
The quotes are not the issue,i check it by using quotes but does't work,
the issue is in stored procedure it don't accepts the table name as variable it treats it as a literal,i.e
DROP PROCEDURE `p1`//
CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(IN `strTable` VARCHAR(50))
SELECT * FROM strTable
it does't accept 'strTable' as a variable it treats it as a table name,its working if we passed it in where clause but not working in from clause.