Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14189

Cellpadding in HTML mail

From Bo Wísén <bowisen@telia.com>
Newsgroups comp.lang.php
Subject Cellpadding in HTML mail
Date 2014-08-22 09:57 +0200
Organization Netfront http://www.netfront.net/
Message-ID <lt6t67$18td$1@adenine.netfront.net> (permalink)

Show all headers | View raw


Hi,

I'm trying to send a HTML mail using the mail() function in PHP. This is 
usually no problem. But now I'm trying to set a cellpadding value in the 
existing table. I've tried two ways in the message text:

$text .= "<table cellpadding=\"10\">";
or
$text .= "table cellpadding=".chr(34)."10".chr(34).">";

Cellpadding doesn't work and in the source code the above results in 
'<table cellpadding\=3D"10">.

What am I doing wrong?

   / Bo


---
Detta epostmeddelande innehåller inget virus eller annan skadlig kod för avast! antivirus är aktivt.
http://www.avast.com


--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Cellpadding in HTML mail Bo Wísén <bowisen@telia.com> - 2014-08-22 09:57 +0200
  Re: Cellpadding in HTML mail Arno Welzel <usenet@arnowelzel.de> - 2014-08-22 16:44 +0200
  Re: Cellpadding in HTML mail Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-23 11:16 +0200

csiph-web