I am working on a shopping cart and have implemented a coupon hack for it. What I am trying to do (without breaking it too bad, LOL ) is to have the values stored in an external file and call it when needed. Like require in PHP.
Is there an example of a line of code that will work for my application?
I have been reading all over the web and see require() and use() but am not understanding the foobar
currently the line I want to import into the script is
Thanks in advance
Is there an example of a line of code that will work for my application?
I have been reading all over the web and see require() and use() but am not understanding the foobar
currently the line I want to import into the script is
Code:
@sc_discount_logic = ("1005||||5%", "1500||||5.00");
Comment