Reply to Re: PHP & Quote Marks

Your name:

Reply:


Posted by Ulf Kadner on 09/05/07 18:43

amerar@iwc.net wrote:

> I cannot get this stupid Javascript code to embed properly in my PHP.
> It does not show the 'select' button. I believe it is my quotes,
> maybe Javascript does not like something.......
>
> Anyhow, can someone help me with the syntax?? I'd really appreciate
> it. The code works fine in just plain HTML......

Rik gives you some usefull informations. I will show you only a way for
doing better:

PHP (and other languages) give you a construct, named Heredoc

echo <<<TXT
<TABLE><TR>
<TD><input type=text name='partydate' value='$party_date'>
.... and so on...
TXT;

Thats it.

So long, Ulf

--
_,
_(_p> Ulf [Kado] Kadner
\<_)
^^

[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

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