Reply to Re: [PHP] While and echoing HTML

Your name:

Reply:


Posted by Fabian M�ller on 05/10/05 08:57

Mark Sargent <powderkeg@snow.email.ne.jp> writes:

> $i=0;
> while ($i < $num){
> $product_type=mysql_result($result,$i,"product_type_detail");
> echo "<tr><td><? echo $product_type ?></td></tr>"
> }
> $i++

You should put "$i++" into the while loop. And you should add an ";"
at the end of the echo line as well as at the end of "$i++".

With kind regards, Fabian Müller

[Back to original 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

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