I have this code echo '<td onclick="$(\'#response\').html(\'<table><tr><td background=#bbbbbb>IDNo: '. $pkmn['id'] .' example ... </td></tr></table>\';)">some more code</td>'; PHP: What quotes can I use to make "example" a link where otherwise I would use <a href="http://www.google.com">example</a> Code (markup): ?
echo '<td onclick="$(\'#response\').html(\'<table><tr><td background=#bbbbbb>IDNo: '. $pkmn['id'] .' <a href=\\\'http://www.google.com\\\'>example</a> ... </td></tr></table>\';)">some more code</td>'; PHP: This should work nice.