Using Version 3.1
Build 197
Hey all,
I would like to pass a parameter to phprunner to restrict results from the database to a user.
For example.
I have a table of vehicles, in this table i have a field called supplier_id.
amazingly this is a foreign key to a table called "Supplier". When a supplier comes to check out our vehicles, I don't want them seeing other supplier's vehicles.
Here's the catch, I already have a login system built and don't want to use the existing phprunner login. sorry.
My co-worker and I found a quick easy hack that's only one line of code, but, this means if I ever change the project, I have to re-add the hack because phprunner will overwrite my changes.
So, is there any way to pass parameters that won't be overwritten? even if it is a hack? Am I being clear enough?
Thanks in advance.
-Brent