Posted by Johnny on 08/23/06 03:48
"J.O. Aho" <user@example.net> wrote in message
news:4k47paFak9gkU1@individual.net...
> You can simplify your form tag, action="" is the same as calling itself,
less
> code and less work for PHP if you use:
>
> <form method="POST" action="">
>
>
I like that shortcut :-) but I'm not confident that it will always do as you
say.
at w3 html4 forms
http://www.w3.org/TR/html4/interact/forms.html#adef-action
they say
action = uri [CT]
This attribute specifies a form processing agent. User agent behavior for a
value other than an HTTP URI is undefined.
So while it may work in some browsers I'm not confident that it always will.
Or have I missed something?
Thanks
Navigation:
[Reply to this message]
|