I use PHPmyadmin to create and view views. I want to have views that accept a variable, so I can use different values ββwithout creating a new query.
Here is an example of when I will use this.
If I have a query that searches for people at a certain age:
SELECT Name FROM tbl_people WHERE age < 30;
Is there a way to make value (30) dynamic so that I can change it on the fly? I think phpmyadmin is asking for a value before displaying the view, or maybe there is an input field to change the value.
Not sure if this is possible, but any help is appreciated.
dan08 source share