You are here: Re: If Statement Problem « PHP Programming Language « IT news, forums, messages
Re: If Statement Problem

Posted by bokke on 10/30/06 18:48

Hi Andy,

I had tried that before without success - but it gave me another idea -
and it worked ...

<?php
if ($row['picture'] == '1')
{
echo '<img src="Images/NewsPics/' . $row['id'] . '.jpg"
border="1">';
}

else
{
echo '';

}

?>

for some reason the other way round fails ...

thanks a lot for the help

 

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

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