Let Joomla and MySQL interact!
I often need a quick and easy few lines to retrieve some data from MySQL using Joomla without all the MVC nonsense that usually goes about this topic. …
Read Article →In-depth guides, insights, and best practices for modern software engineering
I often need a quick and easy few lines to retrieve some data from MySQL using Joomla without all the MVC nonsense that usually goes about this topic. …
Read Article →This is really actually meant for future reference for myself as lately I’ve been doing quite a lot of Joomla! mysql coding and have used the …
Read Article →I was busy with a custom component in Joomla, and it stored it’s own user_details based off of the main users table, but if the details were …
Read Article →Sometimes you need to extract multiple email addresses from a string and the following function will make all your dreams come true.
function …
Read Article →
This is a very hot topic indeed.
Definitely one that everyone with a website should know all about.
To begin our journey we will look directly at …
Read Article →I was trying to restrict a form’s field from only allowing the user to enter alphanumeric characters into it. I looked all around and …
Read Article →Ever wanted to have a dropdown that automatically showed the current year and the few years before it?
This is a quick and easy way to do exactly …
Read Article →Recently I had to create a code/username maker to fit into a certain type of pattern so that all “broker codes” (as they were called) …
Read Article →Trying to use MySQL with Python and getting an ImportError?
Traceback (most recent call last): File "some_file.py", line 4, in import MySQLdb as …Read Article →
If you are using Classic ASP (yuck) to create an arabic section of a website you can search for the arabic string in your Request URI and then change …
Read Article →
Today we have finalised for ourselves that Windows 7 is definitely a “better” operating system than Ubuntu 12.04 when it comes to …
Read Article →You heard it right! split() is officially a deprecated function. That means that you can still use it if you are really brave and it will work …
Read Article →I usually run into this problem when dealing with good ol’ Internet Explorer (..any version of IE actually).
The problem is that IE tries to be …
Read Article →I often wonder to myself where the technology industry is heading as I see new things come out almost daily.
You look around and something you just …
Read Article →So someone’s trying to make their site better by opening a page on your site inside of their site using an iframe?
They’re doing something …
Read Article →The hosts file is used to manually alter the hostname or IP address in place of it being served by a Nameserver, also known as via DNS.
The hosts file …
Read Article →You are no doubt trying to add a vhost and you get the following error when attempting to affect changes by restarting the http daemon (httpd):
(EAI …
Read Article →Virgin Media have done it again! They have gone and started a “downloaders war”, I’m sure of it.
Basically what happened is that …
Read Article →Firstly let’s just note that crontabs are read in the following way:
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of …
Read Article →
It’s really very simple to convert times in different timezones using the following function.
function dateTimeConversion($datetime, …
Read Article →
With the following function you can easily convert an integer containing seconds to a nice days, hours, minutes, seconds string or array.
function …
Read Article →
This has become quite a common question asked by many website owners.
“How do I remove that dotted outline around an anchor?”
Lucky for …
Read Article →If you would like to get the amount of hours between 10:00 and 12:00 then use this!
I needed this for a timesheet calculator where users entered start …
Read Article →A common question with the rise of HTML5 becoming more and more common and the whole iGeneration (iPhones/iPads/iEtc) is “how can I embed a …
Read Article →