I have the current PHP:
$thisarray[] = "#000";
SetProfileField('usercss', $USER->id, implode(',',$thisarray));
Which writes #000
to the users profile field labelled usercss
.
However I would like the user to be able to set the value from a simple form.
Can anyone suggest some code I might use?
++ Hope to extend this to include a jQuery color picker so the user does not need to know the hex. E.g. http://acko.net/dev/farbtastic