How do I convert this php code to HTML?

  • Thread starter Thread starter HomeAndFamily.biz
  • Start date Start date
H

HomeAndFamily.biz

Guest
I have the following code in a PHP file. I need to put it inside of an existing HTML file.

<a href=\"".sefRelToAbs('index.php?link='.$row->post_by)
."\">".($row->post_by_alias!='' ? $row->post_by_alias : $row->pet)."</a>";

I tried <?php thecode ?>, but I got an error: unexpected <

Is there another way I can type the link to make it html friendly?
 
try copy and pasting the file in notepad
save it as anything.html
then open it back up in notepad and paste into the existing html file
 
Back
Top