I have a html code with tables and stuff and in the middle of the text part, I have a URL linking to a unique page for every person in my db.
So when I get to this part I need to break out of the code and include the php code and then continue with my html, but I just don't know how to do this. Can someone help out?
What I have now is something like this:
Code: Select all
$htmldocument1 = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>WEBMAIL TEST</title>...
...text text text - <a href="http://www.website.com/promo/listen_track.php?promo=';
Code: Select all
$htmldocument2 = $row_rs_table['code'];
Code: Select all
$htmldocument3 = '"CLICK HERE</a></p>
<p align="left">The link is...
Code: Select all
$htmldocument = $htmldocument1.$htmldocument2.$htmldocument3;