I am generating a table in PHP that should have a reference to a JavaScript function. This is the line in question:
The line above does not work, since the href in HTML should read:
href:"javascript:GetFlyPic('string')"
and not
href:'javascript:GetFlyPic('string')'
What is the solution to this terrible problem?:
PHP:
echo "<td><a href:'javascript:GetFlyPic('".$row[F_Name]."')'>$row[F_Name]</a></td>";
The line above does not work, since the href in HTML should read:
href:"javascript:GetFlyPic('string')"
and not
href:'javascript:GetFlyPic('string')'
What is the solution to this terrible problem?: