HTML form is an essential part of Web development process, it allows us to gather data from user inputs and we can do various things with the data we receive from user, we can send email, change interface, layout or save the data directly to our MySql table.
Here’s PHP function that comes in handy when you want to shorten long URLs into short Bit.ly URLs, before sharing it to Twitter or other Social networks. First you need to create Bit.ly OAuth application here, when you create an application you will be able to generate “Generic Access Token” under this application to make API requests on behalf of your own account.
In the previous post, we had created a simple PHP session based shopping cart, now in this article we will integrating this shopping cart with our PayPal express checkout system. Main idea is to let users buy multiple items using PayPal, shopping cart collects the items users want to buy and then they’ll be able to pay for multiple items using their PayPal account.
Shopping Cart is very important part of any online store, it not only allows user to accumulate list of items for final purchase, but also calculates total amount of all the products. Since my last article on PayPal Express Checkout with PHP, I have received few emails asking how to create a simple PHP session based shopping cart for the website. So, keeping that in mind, today we are going to create a shopping cart, which is simple and can be integrated easily in any website that runs on PHP.