To be honest I’ve never fully used CodeIgniter my knowledge is loosely based around what I’ve learned from making very tiny updates to our companies website, mainly on the database end. So I’m unsure if this is a CI problem or the problem lies somewhere else.
In our database we call a field named additional_images, and within that field there can be anywhere from one additional images to about four or five. All current items that are in the database are fine, but I recently had to add some new product manually, as I’m only provided with an excel file and I’m unsure how to make it a workable SQL. So I figured I’d insert the rows manually. The problem that’s happening is when I write in the additional images (that are stored in an asset folder that the product_view calls it’s adding a (percent)0D after the .jpg extension causing the image to not load.
When I write the file names into the database, I did as the others are done and just wrote:
Image1.jpg
Image2.jpg
Image3.jpg
Images 1 and 2 will not load because of the
(which I’m assuming is a carriage return?), but since their is no return after Image3.jpg it’ll load. Is there anyway I can fix this problem?