I need help with inserting php inside html. I have the below which causes me a javascript error.
The error being: Uncaught SyntaxError: missing ) after argument list. Can anyone help? Thanks
<a href="javascript:fin(<?php echo $character['addresses'][$i]; ?>) style="width:100%; height:100%;">