radio buttons checked default value
Hi Jason, I created a new thread so not to confuse matter, Do you remember that situation of having a list of different shipping addresses for customer and I wanted to use a radio button (in a recordset loop) so that the customer can select which shipping address to use as a default for the checkout page. well with your help, I have managed to get it updating...HOWEVER the problem is as I dont usually use radio buttons, they feel a little frustrating to get them to play nice...What I would like is that when the customer goes on the managed address page they default address that is associated with the customer table would be selected (checked). but I just cannot get this little tweak working....I also tried to put the recordset AFTER the update but then got php error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Server\www\dinky\plugins\customer\manage-shippingaddress.php on line 114
could this be due to me being slopping and created 2 recordsets (rsUsers and rsAddress) - should I have just created one recordset for the 2 tables?
anyway..how can I tweak the code so that the address that is suppose to be the default on be selected by default when the customer goes to this page?
Regards
Chris