PDA

View Full Version : Quotes and double quotes?



zoobie
June 3rd, 2002, 00:37
My MIME quotes are as follows:

$body = "<center><img src=cid:$pic></img></center>"; These quotes must stay like this.

The problem is, I must include double quotes around the cid:$pic for this to work.

Example= <img src="cid:$pic"></img>

When I do, it throws an error because there are now 2 sets of double quotes (huh?)

How could I get this to work properly?

Thanks


:confused2

is0lized
June 3rd, 2002, 00:43
$body = "<center><img src=cid:\"$pic\"></img></center>";


im a newb at php and best i can do is echo and i know how to do it :o

zoobie
June 3rd, 2002, 00:56
Umm...Do you mean <img src=\"cid:$pic\"> :rolleyes: