02-03-2017, 03:32 PM
All of that code is not PDO, so you can definitely use it if you just want to create the db connection manually, but it would not integrate as tightly into UserSpice's other classes.
Looking at that code, I think it would be faster to just rewrite it. That's just my opinion. I don't even really know that you need a class at all. These functions could just go into the custom functions, in /usersc
If it were me, I would start with that wall thing and build those functions out to be what you want, rather than working backwards from an older class. Just my opinion.
Looking at that code, I think it would be faster to just rewrite it. That's just my opinion. I don't even really know that you need a class at all. These functions could just go into the custom functions, in /usersc
If it were me, I would start with that wall thing and build those functions out to be what you want, rather than working backwards from an older class. Just my opinion.