FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » for each syntax
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: for each syntax [message #169629 is a reply to message #169616] Mon, 20 September 2010 09:49 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 9/19/2010 4:52 AM, Michael Fesser wrote:
> .oO(GarryJones)
>

<snip>

>> <tr><td>Trip 1 name and details</td>
>> <td width="150" valign="middle" class="barstyle">
>> <FORM action="boksteg2.php" method="post" name="steg110" id="steg110"
>>> <input name="resmalval111" type="hidden" value="110">
>> <input type="Submit" value = "Boka NU">
>> </FORM>
>> </td></tr>
>
> BTW: Forms don't have names. You can remove it from the 'form' tag.

Forms can have names in HTML4 specification.
(But ID's are preferred.)

http://www.w3.org/TR/html401/interact/forms.html#h-17.3

name = cdata [CI]
This attribute names the element so that it may be referred to from
style sheets or scripts. Note. This attribute has been included for
backwards compatibility. Applications should use the id attribute to
identify elements.

(Appart from that I totally agree to your suggested approach.)

Regards,
Erwin Moller

--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Illegal variable _files
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 01:33:54 GMT 2024

Total time taken to generate the page: 0.04228 seconds