By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,409 Members | 1,604 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,409 IT Pros & Developers. It's quick & easy.

PHP tags doesnt work when CSS applied

P: n/a
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",$image_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
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


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

Jul 17 '05 #2

P: n/a
Please post your CSS for p.emoticon as that is where the error will be.

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.