PHP tags doesnt work when CSS applied
- From: djgod_1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (wicky)
- Date: Sat, 30 Apr 2005 09:01:10 GMT
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
.
- Follow-Ups:
- Re: PHP tags doesnt work when CSS applied
- From: madmaster
- Re: PHP tags doesnt work when CSS applied
- Prev by Date: Re: Alternatives to Sourceforge
- Next by Date: session_start() error
- Previous by thread: Alternatives to Sourceforge
- Next by thread: Re: PHP tags doesnt work when CSS applied
- Index(es):
Relevant Pages
|