In my symfony2 application there is a need to create a table on the basis of user selection. if user selects yes then a new table will be create into database.
I am trying to create table query into symfony2 controller but getting error message
Error: Expected SELECT, UPDATE or DELETE, got 'CREATE'
Is it any way to run create table query into controller.