Okay, so it's all implemented - Good guess at the primary key, it was indeed 'taskid' - I've not changed any of the core parts of the code, apart from changes to table names in the queries etc..
Trying not to sound too stupid here - But does this below code have the ability to work 'out-of-the-box'? - If so, I've tried it and it doesn't work..
I may be missing something, or merely I need to add some things in myself.
Once again, excuse my lack of knowledge - As I said, this is the first piece of coding I've done in a while, and even so, I've never come across such functions in PHP.
Any further help would be greatly appreciated, and I am very appreciative of all your help so far.