PHP tags doesnt work when CSS applied



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">

<?php
foreach($image as $count => $image_path)
{
$buf = sprintf("%s",$image_path);
$c = $c+1;
?>

<img src="<?php echo $buf;?>">
<?php
if($c==5)
{?>
</p>
<p class="emoticon">
<?php
$c = 0;
}
}
?>
</p>
http://eye.cc -php- web design
.



Relevant Pages

  • Re: PHP tags doesnt work when CSS applied
    ... work because my html tag have css class to control it. ... show up but when i delete the css class the pictures show up, ...
    (comp.lang.php)
  • PHP tags doesnt work when CSS applied
    ... i tried to apply php tags to show some smilies but it wouldnt ... work because my html tag have css class to control it. ... show up but when i delete the css class the pictures show up, ...
    (comp.lang.php)
  • Re: reading a directory of pictures ; arrary problem
    ... very kind of you to post this; as a newbiee I'm sorry to say I can't get it ... I pasted it into an editor, added html and php tags ... > under the Pictures and Video section. ... > J Bard wrote: ...
    (alt.php)