Connecting Tech Pros Worldwide Help | Site Map

PHP tags doesnt work when CSS applied

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:55 PM
wicky
Guest
 
Posts: n/a
Default PHP tags doesnt work when CSS applied

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

  #2  
Old July 17th, 2005, 12:55 PM
madmaster
Guest
 
Posts: n/a
Default Re: PHP tags doesnt work when CSS applied

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

  #3  
Old July 17th, 2005, 12:55 PM
Jasper Bryant-Greene
Guest
 
Posts: n/a
Default Re: PHP tags doesnt work when CSS applied

Please post your CSS for p.emoticon as that is where the error will be.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.