You are here: Re: PHP tags doesnt work when CSS applied « PHP Programming Language « IT news, forums, messages
Re: PHP tags doesnt work when CSS applied

Posted by Ryan Lange on 02/25/06 05:22

wicky wrote:
> 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

This is HTML/CSS issue rather than a PHP one, but... Why do you
have two '<p class="emoticon"></p>' blocks, when the second one will
always be empty?

- Ryan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация