What URL should look like?
I would like to know based on following coding, what URL should look like for submit?
Does anyone have any suggestions?
Thanks in advance for any suggestions
End line: <select size="1" style="width:73px;" name="endSym" >
<option value="win" selected>windows</option>
<select size="1" name="split" style="width:45px;">
<option value="tz" selected>;</option>
<input type="submit" value="Get Data" class='button'>...
What exactly are you talking about?
Is this a part of a "form"?
If so, you'll need a (server side) .php file to "process" the form. For example:
There is no URL in the submit.
<form action="feedback.php" method="post">
For more info:
I am not getting your question exactly. Clearly specify what you want to design.
The URL (of the script to process the form data) should be whatever you want!!! E.g.
1. Suppose the form is in a file called "index.php" and you want it to process the form data itself, the syntax would be:
<form action="index.php" method=post>
2. Suppose the form is in "index.html" and the data is to be processed by a separate file "sender.php" which is in a child directory "process", the syntax would be
<form action="process/sender.php" method=post>
I.e. It all depends upon the name of the file containing the php script, and where it is located with respect to the file containing the form. Note: Relative paths are preferred because they work off-line for development as well as on-line live.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)