PHP tags doesnt work when CSS applied

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hello, i tried to apply php tags to show some smilies but it wouldnt
work because my html tag have css class to control it. No pictures
show up but when i delete the css class the pictures show up, anyone
know the reason to this? thank you
 <p class="emoticon">
         foreach($image as $count => $image_path)
            $buf = sprintf("%s",$image_path);
            $c = $c+1;
        <img src="<?php echo $buf;?>">
                <p class="emoticon">
                 $c = 0;
        </p> php newsgroups

Re: PHP tags doesnt work when CSS applied

wicky wrote:
Quoted text here. Click to load it

     This is HTML/CSS issue rather than a PHP one, but... Why do you  
have two '<p class="emoticon"></p>' blocks, when the second one will  
always be empty?

- Ryan

Site Timeline