Posted by wicky on 10/22/82 11:40
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 newsgroups
Navigation:
[Reply to this message]
|