Posts under ‘PHP’

Route Deja Vu

I just had one of those odd moments that happen when you are stuck and are trawling through Google and you come across something you have written. At the moment I have a blessed respite from the usual rubbish at work of sorting out and extending other peoples bad code, and I am writing a [...]

A simple PHP calendar function

Recently I needed a calendar to display on a site. I looked around for something I could just cut and paste and drop in but I couldn’t find anything, but picked up something I had started about six months earlier and which had then fallen by the wayside. Now calendars aren’t actually very complicated, but [...]

Portfolio 2004 -2007

A few sites from my Portfolio 2004 – 2007. Working as Senior Developer for COSMIC. I developed a PHP CMS framework called Rocket which is as the core of most of these sites.
The projects include:

E-commerce
Content Management Systems
Custom Programming & Database Integration

CakePHP : form field order problem when saving related models

On Friday afternoon I spent the last hour of my day pulling my hair out. I’ve been building a CRM system for a recruitment agency. We had just had a meeting and they asked me to change one of the relationships from Client hasAndBelongsToMany Location and Client hasMany Job to Client hasMany Job and Job [...]