You are here: PHP & Quote Marks « PHP Programming Language « IT news, forums, messages
PHP & Quote Marks

Posted by amerar@iwc.net on 09/05/07 15:03

Hi All,

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......

echo "<TABLE><TR>\n";
echo " <TD><input type=text name='partydate' size=10 maxlength=10
value='$party_date'>\n";
echo " <script language='javascript'>\n";
echo " <!-- if (!document.layers) {\n";
echo " document.write(\"<input type=button
onclick='popUpCalendar(this, editparty.partydate, \"mm/dd/yyyy\")'
value='select' style='font-size:11px'>\") }\n";
echo " //-->\n";
echo " </script><BR><CENTER><span class=body><B>Party Date</
CENTER>\n";
echo " </TD>\n";
echo "</TABLE>\n";

 

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

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