--- Cesar Aracena <[EMAIL PROTECTED]> wrote:
> $message = "
> 
> <HTML>
> <HEAD>
> <TITLE>title goes here</TITLE>
> </HEAD>
> <BODY>
> ".
> for ($x = 0; $x < $num_rows; $x++)
> {
> //several lines made dynamically
> }
> .."
> </BODY>
> </HTML>;

Try something like this instead, if you want all of your
HTML to be in the $message variable:

$message = "<html>\n<head>\n";
$message .= "\t<title>title goes here</title>\n";
$message .= "</head>\n<body>\n";

for ($x = 0; $x < $num_rows; $x++)
{
     $message .= "whatever you want to add\n";
}

$message .= "</body>\n</html>";

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to