I want to return HTML string as follows from my controller.
$returnValue = "<a onclick='demosuccess(".
chunk_split( base64_encode( $details['clientid'] ) ).
",".chunk_split( base64_encode( $details['email'] ) ).
",1)' >$this->lang->line('link_sendactivation')</a>";
But,it getting error.I tried it by different combinations of single and double quotes .Please help me to call demosuccess function using above html string….Thanks
1 Answer