Skip to main content
Topic: custom view with param never work (Read 1423 times) previous topic - next topic

custom view with param never work



I try to create a "custom view" with a custom sql query (very basic query)

it will work if i hard coded the fixed value to the query

Code: [Select]
SELECT  * FROM room WHERE vendor_name = 'admin'


but it never work when change to '?' and param USER_EMAIL (i already echo USER_EMAIL in php and it is exactly the text 'admin')

i tried this on a few pc and it never work, is it a bug?


 

Re: custom view with param never work

Reply #2
Hi willvin,

Do you know which file we can manually fix the custom view query?

i tried in the custom view php file and the controller, but i do not see the sql query i written.