I have bits of my code as PHP functions, where I create and then call the function from within an event, usually onLoad.
Is there a way to make these functions available to other Scriptcase programs so that if I need to change the function it changes it for all programs?
would that be a library? Perhaps an internal library?
I haven’t used PHP methods much but they seem like I would have to edit the method in every application that used the same method.
I need to send a variable to my function and it needs to return an array back to my code.
any advice on the way to do this best would be great. The goal is to get reusable bits of code that can be easily updated in the future in one place.
Also my functions include Scriptcase macros to lookup data in the database, so they have to work in order for my function to work.
thanks!