Copyright © 2010 Olebox – Shaun Oleson. All Rights Reserved. Snowblind by Themes by bavotasan.com. Powered by WordPress.
Posts Tagged ‘ function ’
I have written a function to make it easier to execute queries against a MySQL server. I’m posting it here with the hope that it may help other developers that are either learning or looking for a more efficient way to execute SQL statements. I may convert this to a class in the near future, although there isn’t much of an advantage to this from what I’ve seen.
Continue Reading »So I’ve had quite a bit of experience with authorize.NET and PHP and I’ve found it’s difficult to find resources that provide textual examples for integrating the payment processor. I’ve put together a generic tutorial from Authorize.NET documentation that is public. Of course, you will have to specify your Transaction ID and API Login ID. So here you are. If you need assistance or have any questions, feel free to leave a comment. If you found this article helpful, please help support our sponsors through the google ads as they help to cover our hosting fees. Both myself and the companies appreciate it!
The example that Authorize.NET provides does a lot of parsing through strings. I prefer working with arrays as they are easier to read, shorter to write and from what I understand, faster to parse. Also, I like to organize my data in classes. For this example, I’ll just show the function as that should be enough to integrate.
Continue Reading »