You are here: Re: [PHP] Re: a couple of problems with PHP form « PHP « IT news, forums, messages
Re: [PHP] Re: a couple of problems with PHP form

Posted by "Richard Lynch" on 10/13/70 11:29

On Mon, October 17, 2005 5:32 am, Mark Rees wrote:
> -----------------------------------------------------
> sorry, my editor has not indented again
> -----------------------------------------------------
> also, I want the field to appear hilighted when there is no
> information so I am doing this:
>
> <input class="<? if($error_msg){ echo "error"; } ELSE { echo
> "normal"; } id="firstname" name="firstname" type="text"
> value="{$_POST['firstname']}"? />"

I think the quote mark balancing is messed up here...

<input class="
this starts a quote for the class=

There appears to be no ending quote for that...

It may simply have been lost in email editing, however...

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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