what are the differents between 'action' and 'target' in
form tag?
Answer Posted / sujendra kumar
<form action="target"> ... </form>
ACTION attribute. This is a required attribute. This
attribute specifies where the data collected by the form is
to be sent. The destination could be an email address, e.g.,
action="mailto:BillG@lunix.net"; a URL, e.g.,
action="../index.htm"; a CGI script on your web server,
e.g., action="/cgi-sys/formmail.pl"; or an Active Server
page that will process the data, e.g.,
action="mysearch.asp", to name a few possibilities. This is
the one truly complicated issue concerning forms, and will
be addressed below in its own section.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How to protect special characters in query string?
What are the special characters you need to escape in double-quoted stings?
What is the purpose of a query?
Tell me is it possible to remove the html tags from data?
What is $_ get in php?
What is difference between html and php?
How do you pass a variable by value in php?
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
When sessions ends?
What is the maximum size of a database in mysql?
How do you execute a php script from the command line?
Which database is best for php?
What is a definer in mysql?
Are php sessions cookies?
What is the purpose of the php empty function?