currently the code in question looks like this:
There's a series of check boxes on a form for updating subscription preferences. What I'd like them to do is show up as 'checked' if someone has previously opted in, or not if they haven't.HTML Code:<tr> <td width="140" height="30" align="left" valign="top">Interests</td> <td width="320" height="30" align="left" valign="top"><input type="checkbox" name="exhibitions" value="yes" <?php if ($exhibitions == 'yes') ?> checked="checked" /><?php } else { ?> /> <?php } ?> Exhibitions</td> </tr>
I've tried a few methods, but nothing is working so far.
Any pointers as to where this is going wrong?
The current error message is "Parse error: syntax error, unexpected T_ELSE in /home/stevetur/public_html/testarea/cms/about/subscribe_update.php on line 132"
thanks


LinkBack URL
About LinkBacks
Reply With Quote
icon below! (this is even better than "liking" a post)
