problem with mailing html/mysql variables
Posted: Wed Apr 07, 2004 12:09 pm
hello,
i found a code that helped me on the way with html-format mailing but i'm still a bit stuck with it
that part works just fine, what i'm trying to get is a mail with htmlstyle table but the data inside the table pulled out of my dbase
as u veterans will see the quotes (") give trouble
is there any that knows of a code or way to fix the quote problem?
ty for looking
i found a code that helped me on the way with html-format mailing but i'm still a bit stuck with it
Code: Select all
$headers .= chunk_split (base64_encode("<tableborder=1><tr><td><b>Naam Personeelslid</td><td><b>personeelsnummer</td><td><center><b>ma</td><td><b><center>di</td><td><b><center>woe</td><td><b><center>do</td><td><b><center>vrij</td><td><b><center>za</td><td><b><center>zo</td><td><b><center>Km</td><td><b><center>werfnummer</b></td></tr>"));Code: Select all
$headers .= chunk_split (base64_encode ("<table border=1><tr><td><b>Naam Personeelslid</td><td><b>personeelsnummer</td><td><center><b>ma</td><td><b><center>di</td><td><b><center>woe</td><td><b><center>do</td><td><b><center>vrij</td><td><b><center>za</td><td><b><center>zo</td><td><b><center>Km</td><td><b><center>werfnummer</b></td></tr><tr><td><?php echo "$naam"; ?></td><td><?php echo "$persn"; ?></td><td><?php echo "$ma1"; ?></td><td><?php echo "$di1"; ?></td><td><?php echo "$woe1"; ?></td><td><?php echo "$do1"; ?></td><td><?php echo "$vrij1"; ?></td><td><?php echo "$za1"; ?></td><td><?php echo "$zo1"; ?></td><td><?php echo "$km1"; ?></td><td><?php echo "$werfn1"; ?></td></tr>"));is there any that knows of a code or way to fix the quote problem?
ty for looking