You are here: Re: Newbie: Help Please! « All PHP « IT news, forums, messages
Re: Newbie: Help Please!

Posted by Rik on 08/06/06 00:00

Norman Peelman wrote:
> Although I see that you have the answer you need also note that you
> can do:
>
> Print "<td rowspan='4'><img src='images/$info[image_ref]'></td>";
>
> and avoid all the escaping of quotes... to me, this is much easier on
> the eyes. Examine the lines closely... to use multi-dimensional
> arrays do:
>
> Print "<td rowspan='4'><img
> src='images/{$info['image_ref']['??']}'></td>";

To really avoid quoting issues, there is heredoc synatx. All the single and
double quotes you like:
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

Certainly welcome in the bigger strings.

Grtz,
--
Rik Wasmus

 

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

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