DEANO.ME

Languages

 

Over the last few weeks I have been working with OpenCart, a free Open-Source Shopping Cart. And so far I have been loving it! However it was not long until I hit a road block with the software, after enabling the clean SEO URL’s feature and setting up my “SEO Keywords” for all my products, […]

 

Quite a few years ago I was having difficulty with sending HTML emails, on some clients they worked fine but for others they would come through all garbled. so I decided to research a correct approach, which I implemented into a function. A little while later I wanted to also send file attachments in the […]

 

Are you looking to simply duplicate existing rows in your MySQL table? I needed to do this recently for a database I had for a project I was developing, I wanted to duplicate the data in the database to about 10,000 rows to test response times of SQL and perform optimization on the system.

 

Recently I had a weird problem where I was setting up two sites to use Barclays ePDQ, however the post back URL for both sites were completely different so I could not simply format a PARAMVAR so ePDQ would post to the right place. I finally concluded that I needed a central location for ALL […]

 

Something that has been racking my brain this morning… I recently moved all the sites I host (including my own) to a new VPS server, everything went far smoother than I could have imagined and I thought I had escaped the pains that you could expect from a server transfer, such as broken scripts due […]

 

I was working on a project recently that had a pricing grid that I felt was hard to follow, I solution I decided on to make it more clear was to highlight the current cell that was being hovered, but also highlight the row and the column so that the user can clearly see the […]

 

Today I came across the weirdest error ever in PHP, it is so weird it is not even code related, in fact it is completely COMMENT related and it stumped me for SEVERAL HOURS! Okay so here is a snippet of code to demonstrate… (obviously the code I was working with originally was very complex […]

 

PEAR (PHP Extension And Application Repository) is a framework and distribution system for reusable PHP components, it comes in “packages” depending on various functionality you may require and is installed into a server using PEAR’s own installer or PYRUS. However you CAN “install” any/all of the PEAR packages without actually “installing”, the PEAR packages are […]

 

Load css using jQuery so you can capture when the css has been loaded – working in all old and new browsers!

 

Here’s a strange one for you… We all know that parseInt() is a really useful function for converting a string into an integer. It enables us to take a string, convert it to a number, perform mathematic equations and get the result we are looking for. However today I was converting some strings into numbers […]

Share
Share
+1
Tweet
Share
Pin
0 Shares