Thread: form help
Results 1 to 1 of 1
Related
-
required form fields in php page using redirect.php form Forum: PHP Forum
Replies: 1 -
Disable/Enable form features based on form selections Forum: Javascript Forum
Replies: 4 -
Problem with form in IE6 - empty space at end of form Forum: HTML Forum
Replies: 1 -
Form Handling Script for 'Tell A Friend' Form Forum: Javascript Forum
Replies: 1 -
Want to have data in form appear elsewhere in same form Forum: HTML Forum
Replies: 3
-
04-20-2008, 07:51 AM #1
form help
Hi, not to clued up to building web pages but have just started learning and have got a bit stuck. i am doing the company intranet and trying to put together a form that will allow people to fill in rota requests ans submit them to a folder on the server. I have attached how far i have got but nothings happening !!
script
Code:<? $comment = $_POST['comment']; $path = "H:\"; $filename = "comment"; while (file_exists($path.$filename)) { $fnum++; $filename = "comment".$fnum; } $handle = fopen($path.$filename, "w"); fwrite($handle,$comment); fclose($handle); ?>
form method="post" action="H:\under construction\req.cgi">
Code:<font size="5"> <h1 align="center">Rota request form</h1> <p align="center">add any text here ! </p> your name <input type="text" id="fullname" size"25" /> Specific requests <input type="text" id="specific" size="125" /> </pre></p> <p>check the boxes that apply:<br /> <input type="checkbox" id="selected" unchecked="unchecked" /> Saturday 8-4 <br /> <input type="checkbox" id="selected1" unchecked="unchecked" /> Saturday 11-7 <br /> <input type="checkbox" id="selected2" unchecked="unchecked" /> Saturday 2-10 <br /> <input type="checkbox" id="selected3" unchecked="unchecked" /> Saturday day off <br /> <input type="checkbox" id="selected4" unchecked="unchecked" /> Sunday 8-4 <br /> <input type="checkbox" id="selected5" unchecked="unchecked" /> Sunday 11-7 <br /> <input type="checkbox" id="selected6" unchecked="unchecked" /> Sunday 2-10 <br /><input type="submit" value="click here to submit" /> <input type="reset" value=Erase and start over" /></p> </form>
Last edited by vinyl-junkie; 04-20-2008 at 10:31 AM. Reason: Added code tags
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum