Grow your CSS skills. Land your dream job.

FooTable issues displaying image in

  • # January 10, 2013 at 11:12 am

    Not sure where this question goes but i have the footable working fine except it is not displaying the data that I am pulling from my db. I have confirmed that the db strings have the correct info it just seems that the td tag is not picking the string pass. I’m guessing my syntax is incorrect but i have tried numerous methods and no results. Here is my code so you might see where I am going wrong.
    (http://codepen.io/anon/pen/JdxKc “Code for footable”)[Code for footable](http://codepen.io/anon/pen/JdxKc “Code for footable”)

    # January 10, 2013 at 12:05 pm

    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

    < ?php } ?>

    But overall I find this style much more readable.

    I hope this helps

    # January 10, 2013 at 1:28 pm

    Excellent code breakup and thank you soooooo much for the hlep that worked like a charm :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".