Re: Re: a couple of problems with PHP form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux