Hi everyone,
I'm a frontend designer starting to learn about getting forms to work. What I'm after is a script that I can learn from and get working on a site relatively quickly. Something that has the 'how to' details with the script, explaining stuff. A simple feedback form, that displays something similar to what I'm showing below. I need this script to generate an e-mail that is sent back to the visitor saying, thank you etc for your query. Would the same script work for creating a join e-mail database form ? Am I right in saying that?
Can anyone recommend a thorough tutorial with actual working scripts for php 5? My server supports php 5.
Much Appreciation. S
[HTML]<form action="" method="" name="" target="" id="" onsubmit="" >
<p><label for="name">Full Name</label>
<input name="fullname" type="text" class="text" id="fullname" />
</p>
<p><label for="email">E-Mail</label>
<input name="email" type="text" class="text" id="email" />
</p>
<p><label for="phone">Pho ne No.</label>
<input name="phone_no" type="text" class="text" id="phone_no" />
</p>
<p>
<label for="subject">S elect subject</label>
<select name="subject" class="text" id="subject">
<option selected="selec ted">Select subject</option>
<option value="design"> Design</option>
<option value="developm ent">Developmen t</option>
<option value="identity ">Brand Identity</option>
<option value="marketin g">Online Marketing</option>
<option value="question ">General Question</option>
</select></p>
<p><label for="question"> Your Question.</label>
<textarea name="question" cols="30" rows="10" id="question" class="text"></textarea>
</p>
<p><input name="Submit" class="submit" type="submit" value="submit" /><input name="reset" type="reset" value="reset" />
</p></form>[/HTML]
I'm a frontend designer starting to learn about getting forms to work. What I'm after is a script that I can learn from and get working on a site relatively quickly. Something that has the 'how to' details with the script, explaining stuff. A simple feedback form, that displays something similar to what I'm showing below. I need this script to generate an e-mail that is sent back to the visitor saying, thank you etc for your query. Would the same script work for creating a join e-mail database form ? Am I right in saying that?
Can anyone recommend a thorough tutorial with actual working scripts for php 5? My server supports php 5.
Much Appreciation. S
[HTML]<form action="" method="" name="" target="" id="" onsubmit="" >
<p><label for="name">Full Name</label>
<input name="fullname" type="text" class="text" id="fullname" />
</p>
<p><label for="email">E-Mail</label>
<input name="email" type="text" class="text" id="email" />
</p>
<p><label for="phone">Pho ne No.</label>
<input name="phone_no" type="text" class="text" id="phone_no" />
</p>
<p>
<label for="subject">S elect subject</label>
<select name="subject" class="text" id="subject">
<option selected="selec ted">Select subject</option>
<option value="design"> Design</option>
<option value="developm ent">Developmen t</option>
<option value="identity ">Brand Identity</option>
<option value="marketin g">Online Marketing</option>
<option value="question ">General Question</option>
</select></p>
<p><label for="question"> Your Question.</label>
<textarea name="question" cols="30" rows="10" id="question" class="text"></textarea>
</p>
<p><input name="Submit" class="submit" type="submit" value="submit" /><input name="reset" type="reset" value="reset" />
</p></form>[/HTML]
Comment