my form looks like this:
<select name="name[sel]">
<option value="other">OTHER</option>
<option value="martin">Martin</option>
</select>
<input type="text" name="name[txt]">
now when the user selects OTHER, it will disable the text input. changing the names of the variables is not an option...
I have a form 'form.php' which sends post data to 'actions/form.php' which then processes the information and uses header("Location: ../form.php"); exit; to return to the form after the script has executed.
The problem is, when the user is returned to form.php and hits 'Refresh' or 'Reload'...
i just set up apache and would like to use it locally on my laptop to set up web sites. putting localhost into my browser address bar brings up the directory /htdocs. is there a way to set it up so if i typed in http://example1 in my address bar it will take me to /htdocs/example1
told ya i was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.