I had some part of my website that I needed inside of a table to space out. However, when I placed the table flags around the PHP and took a look, it put newlines all over the place, even in the MIDDLE of echos where it would make no sense at all for them to be.
Is there some kind of "bad mixture" between PHP echos and HTML tables?
Putting PHP echos inside of a table
Moderator: General Moderators
there is a /bad mixture/ if you will between the two.
for example.
<font face="green" size="12">
if this was within a php body ( the <? and ?> ) it would for sure give an error. to escape it, some people go about it like this
<font face=\"green\" size=\"12\">
or
<font face=green size=12> the " " messes up if not escaped by /'s.
hope this explains it for you, if not, like goowe said, post the code
for example.
<font face="green" size="12">
if this was within a php body ( the <? and ?> ) it would for sure give an error. to escape it, some people go about it like this
<font face=\"green\" size=\"12\">
or
<font face=green size=12> the " " messes up if not escaped by /'s.
hope this explains it for you, if not, like goowe said, post the code