Tag coding
Wednesday double post of doom…part 2
Here is the second post in my wednesday posting fest of terror….ok i’ll calm down. This one is concerned with using Joomla mailer, which in turn is based upon the PhpMailer class.
Wednesday double post of doom...part 1
Today i’m doing two posts, I know, what kind of crazy man am I?! The first post is a little htaccess wizardry.
Add days, weeks, months etc to dates in PHP
As you probably know php gives you a nice date() function that allows
you to get a date and format it using a vast amount of unix date
strings. But what if you want to add/subtract days, weeks and months to
a date? Marty, warm up the delorean…
Removing empty lines with preg_replace
Just a quick post today to mention something that will come in useful if you need to parse or handle large amounts of text and whitespace.
Reset Auto Increment with MySQL
Alot of the time when you are working with MySQL you will need a table that has an auto incrementing id field. This is great and usually doesn’t pose you any problems, but i’ve noticed that if you are deleting rows manually alot (as you will during development), then it can get a little confused.