You are here: Syntax problem for $x « PHP Programming Language « IT news, forums, messages
Syntax problem for $x

Posted by Garry Jones on 04/22/06 20:41

If the variable $delt1 is 8 I want the output

<td class="vt8" >

Which will have read the value of $delt1 from

<td class="vt<?= $delt1 ?>">

As this is part of a larger code I am trying to use x for the number in
$delt1

This:
<td class="vt<?= $delt.$x ?>">
does not work.

Any help greatly appreciated.

Garry Jones
Sweden

 

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

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