PHP tags doesnt work when CSS applied

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • wicky

    PHP tags doesnt work when CSS applied

    hello, i tried to apply php tags to show some smilies but it wouldn
    work because my html tag have css class to control it. No picture
    show up but when i delete the css class the pictures show up, anyon
    know the reason to this? thank yo
    <p class="emoticon "

    <?php
    foreach($image as $count => $image_path

    $buf = sprintf("%s",$i mage_path)
    $c = $c+1
    ?

    <img src="<?php echo $buf;?>"
    <?ph
    if($c==5
    {?
    </p
    <p class="emoticon "
    <?ph
    $c = 0


    ?
    </p
    http://eye.cc -php- web design
  • madmaster

    #2
    Re: PHP tags doesnt work when CSS applied

    It's a better idea to place the CSS class, so that I can think on it.

    Comment

    • Jasper Bryant-Greene

      #3
      Re: PHP tags doesnt work when CSS applied

      Please post your CSS for p.emoticon as that is where the error will be.

      Comment

      Working...