Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS FooTable issues displaying image in Re: FooTable issues displaying image in

#120544
hotpink
Member

One thing I noticed in line 62 is that you have some php tags nested within php tags. That could be a source of problems.

Another thing I see, in the same place is the use of echo within an echo. Off the top of my head I don’t know if that will work. I am leaning towards no.

I made a fork of your codepen and rewrote it in the style of how I write PHP.
http://codepen.io/jessecfisher/pen/okfms

For html heavy sections, I prefer to escape from php using the closing tag ?>

This method becomes a little sloppy looking in places, such as closing the for loop, you can end up with something like this

But overall I find this style much more readable.

I hope this helps