--- In [EMAIL PROTECTED], "tommyhaych" <[EMAIL PROTECTED]> wrote:
>
> Ooooooo you helped! The php address made me realise something - I
> wasn't running this on my localhost. 
> 
> It's adding something to the database!!! 
> 
> Just a cheeky question now - am I going the right direction with that
> checkbox array? I think i've just pasted random things in there hoping
> it would work!
> 
> Thanks a lot!
> 
> Tom H
>

.. I'll build on that more...

If my checkbox for each band was called 'cBox' and the information I
wanted to pass on was found in the label, would I be assuming the
following code is the right direction?:

public function modifyArray(item:Object):String{
if(cBox.Label != null){
return cBox.label;
}

return "(artist = "+cBox.label+")";;
}

Basically, when I click the checkbox, it adds/removes it from this ^
array. (code - cBox click="modifyArray(artist)")

Just wondering if i'm doing the right thing here to acheive what I
want (being able to pass it on via HTTPService).

Annnyway. Thanks for the help so far!

Tom
x



Reply via email to