This article is for those that are interested in the programming language PHP and how OpenCart makes good use of arrays, one of many different elements in PHP. Since a huge portion of how data is gathered, saved, and iterated in the Opencart MVC has to do with arrays this is what we will be looking at today.
WHAT IS AN ARRAY? Learn More
In 2012, especially late 2012, the TomatoCart core team have been working on maintaining and fixing the solution while concentrating on developing TomatoCart 2.0.
Features of TomatoCart 2.0, would include: Learn More
If you have a SQL database that has an image field in a particular table and want to return the image to the web site using web API’s then you almost have to extract the image as binary, read it to a memory stream and then save it temporarily on the server. Pass the location back to the web page where the web page then displays the image.
What if you don’t want to create a temporary file or what if you have a lot of images for a particular product you know the user is not going to look at all of them, but since they could you’re left to run through this process anyway. Here is another way you could do this. Instead of creating a temporary file just stream the image back in the way of a string. Then let your browser convert it to the binary image equivalent. Learn More