Jump to content

any body able to help ?


Recommended Posts

hi all wondered if somebody with a bit of web site knowedge could help me out.....im new to making web sites and am currently making one for my wing chun teacher ,ive created an application page as shown in the pic below what im having trouble with is how can i get the submit button to send the information to a email address ? (ive included the php code for the application form below)

Posted Image

<div class="form-div">
<h2>Martial Arts Somerset Lesson Application Form</h2>
<p>Please use this form to submit your details onto the list for Kung Fu or Tai Chi Lessons. </p><p>You may not hear from us immediately, but please be assured that we will receive the information and contact you in order to organise a free consultaion and trial lesson.</p><br class="clear"><br class="clear">

<form method="post" enctype="multipart/form-data" name="form6" target="_self" id="form6">


<div class="form-area">

<label for="vform_which_lessons_are_you_enquiring_about_" class="">Which lessons are you enquiring about?<span class="required"> * </span></label><select name="vform_which_lessons_are_you_enquiring_about_" style="width: 150px;">


<option value="Kung Fu" selected="selected">Kung Fu</option>

<option value="Tai Chi">Tai Chi</option>

</select><br class="clear"> <br class="clear">

</div>



<div class="form-area">

<div class="field-error">
<label for="vform_Name_" class="">Name:<span class="required"> * </span></label>
<input name="vform_Name_" id="vform_Name_" style="width: 150px;" value="" type="text"><br class="clear">
</div>
<br class="clear"

</div>



<div class="form-area">

<div class="field-error">
<label for="vform_Email_Address_" class="">Email Address:<span class="required"> * </span></label>
<input name="vform_Email_Address_" id="vform_Email_Address_" style="width: 150px;" value="" type="text"><br class="clear">
</div>
<br class="clear">

</div>

<div class="form-area">

<div class="field-error">
<label for="vform_Contact_Number_" class="">Contact Number:<span class="required"> * </span></label>
<input name="vform_Contact_Number_" id="vform_Contact_Number_" style="width: 150px;" value="" type="text"><br class="clear">
</div>
<br class="clear">

</div>

<div class="form-area">

<div class="field-error">
<label for="vform_What_time_is_best_to_contact_you_" class="">What time is best to contact you?:<span class="required"> * </span></label>
<input name="vform_What_time_is_best_to_contact_you_" id="vform_What_time_is_best_to_contact_you_" style="width: 150px;" value="" type="text"><br class="clear">
</div>
<br class="clear">

</div>
<label></label>
<div align="center">
<input name="Submit Details" id="Submit" value="Submit" type="Submit">
<input name="Reset" id="Submit" value="Reset" type="reset"></div><br><br class="clear">
<input name="form_process" id="form_process" value="Submit Details" type="hidden">
<input name="form_id" id="form_id" value="6" type="hidden">
</form><br class="clear"><br class="clear">
</div>

http://www.martialartssomerset.co.uk/

Edited by wattz
Link to comment
Share on other sites

Urban-Ninja;4825']your code is a bit confusing to me, i have a send mail php script i made a while ago, if you want i can modify it and post it for you?

thank you m8 i welcome any help :) ....im sort of picking it up as i go (a lot of youtube vids and reading to do lol :) ), this time yesterday i didnt even know wht php was lol ,the code ive used is from a application form i found online and just modified it a bit for the info wanted.

*also wanted to ask about hosting companys , a friend recommended http://www.justhost.com/ has anybody had any dealings with them are they a good company to use ?

Edited by wattz
Link to comment
Share on other sites

Check this out, Goverment funded website to help people get their businesses online - free domains, hosting, etc.

Pretty good for nowt ;)

http://www.gbbo.co.uk/

used these before ,i made a free one with them back when they still partnered with google sites they have switched over to yola now all tho it says free when i tried a couple of days ago yola wants to charge me :( ...i had a look at a few others like wix.com etc... but thought they look pretty limited an not very nice looking.

i ended up using blue voda (couldnt work out how to use dreamweaver lol) to create this site so far and have found it to be a great program and easy to use with lots of features :)

Link to comment
Share on other sites

hi all :) ...stuck again lol ,

http://somersetplastering.org.uk

Posted Image

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<html>
<body>
<script language="JavaScript1.2">
//Presentational Slideshow Script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for legal use
var slideshow_width='950px' //SET SLIDESHOW WIDTH (set to largest image's width if multiple dimensions exist)
var slideshow_height='320px' //SET SLIDESHOW HEIGHT (set to largest image's height if multiple dimensions exist)
var pause=3000 //SET PAUSE BETWEEN SLIDE (2000=2 seconds)
var slidebgcolor="white"
var dropimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
dropimages[0]="http://bridgwaterwebdesign.com/images/297662-Rough-wall-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rough-wall-plastering.jpg"
dropimages[1]="http://bridgwaterwebdesign/images/297668-Dot-and-dab-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dot-and-dab-plastering.jpg"
dropimages[2]="http://bridgwaterwebdesign/images/297671-Skim-over-Artex---Dewsbury,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rendering.jpg"
dropimages[3]="http://bridgwaterwebdesign/bridgwaterwebdesign/images/297672-External-plastering---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---wall-plastering.jpg"
dropimages[4]="http://bridgwaterwebdesign/bridgwaterwebdesign/images/297673-Two-coat-backing-plaster-work---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Internal-plastering.jpg"
dropimages[5]="http://bridgwaterwebdesign/bridgwaterwebdesign/images/297679-Dry-lining---Leeds,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dry-lining.jpg"
var droplinks=new Array()
//SET IMAGE URLs. Use "" if you wish particular image to NOT be linked:
droplinks[0]=""
droplinks[1]=""
droplinks[2]=""
droplinks[3]=""
droplinks[4]=""
droplinks[5]=""


var preloadedimages=new Array()
for (p=0;p<dropimages.length;p++){
preloadedimages[p]=new Image()
preloadedimages[p].src=dropimages[p]
}
var ie4=document.all
var dom=document.getElementById
if (ie4||dom)
document.write('<div style="position:relative;width:'+slideshow_width+' ;height:'+slideshow_height+';overflow:hidden"><div id="canvas0" style="position:absolute;width:'+slideshow_width+' ;height:'+slideshow_height+';background-color:'+slidebgcolor+';left:-'+slideshow_width+'"></div><div id="canvas1" style="position:absolute;width:'+slideshow_width+' ;height:'+slideshow_height+';background-color:'+slidebgcolor+';left:-'+slideshow_width+'"></div></div>')
else
document.write('<a href="javascript:rotatelink()"><img name="defaultslide" src="'+dropimages[0]+'" border=0></a>')
var curpos=parseInt(slideshow_width)*(-1)
var degree=10
var curcanvas="canvas0"
var curimageindex=linkindex=0
var nextimageindex=1

function movepic(){
if (curpos<0){
curpos=Math.min(curpos+degree,0)
tempobj.style.left=curpos+"px"
}
else{
clearInterval(dropslide)
nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
var slideimage='<img src="'+dropimages[curimageindex]+'" border=0>'
tempobj.innerHTML=(droplinks[curimageindex]!="")? '<a href="'+droplinks[curimageindex]+'">'+slideimage+'</a>' : slideimage
nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0
setTimeout("rotateimage()",pause)
}
}
function rotateimage(){
if (ie4||dom){
resetit(curcanvas)
var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.style.zIndex++
var temp='setInterval("movepic()",50)'
dropslide=eval(temp)
curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0"
}
else
document.images.defaultslide.src=dropimages[curimageindex]
linkindex=curimageindex
curimageindex=(curimageindex<dropimages.length-1)? curimageindex+1 : 0
}
function rotatelink(){
if (droplinks[linkindex]!="")
window.location=droplinks[linkindex]
}
function resetit(what){
curpos=parseInt(slideshow_width)*(-1)
var crossobj=ie4? eval("document.all."+what) : document.getElementById(what)
crossobj.style.left=curpos+"px"
}
function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
rotateimage()
}
if (ie4||dom)
window.onload=startit
else
setInterval("rotateimage()",pause)
</script>
</body>
</html>
</BODY>
</HTML>

tryed a fair few times with diff stuff but have had no luck :( anybody able to help plz :)

Edited by wattz
Link to comment
Share on other sites

I think the gallery is not working but if is that, appears to be a path problem. As an example http://bridgwaterwebdesign/images/3.jpg should actually be http://bridgwaterwebdesign.com/images/3.jpg

[COLOR=#000000][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]0[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign.com/images/297662-Rough-wall-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rough-wall-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/images/297668-Dot-and-dab-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dot-and-dab-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]2[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/images/297671-Skim-over-Artex---Dewsbury,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rendering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]3[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297672-External-plastering---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---wall-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]4[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297673-Two-coat-backing-plaster-work---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Internal-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]5[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297679-Dry-lining---Leeds,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dry-lining.jpg" [/COLOR][/COLOR]

Only one line got the .com

Link to comment
Share on other sites

I think the gallery is not working but if is that, appears to be a path problem. As an example http://bridgwaterwebdesign/images/3.jpg should actually be http://bridgwaterwebdesign.com/images/3.jpg

[COLOR=#000000][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]0[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign.com/images/297662-Rough-wall-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rough-wall-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/images/297668-Dot-and-dab-plastering---Wakefield,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dot-and-dab-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]2[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/images/297671-Skim-over-Artex---Dewsbury,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Rendering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]3[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297672-External-plastering---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---wall-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]4[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297673-Two-coat-backing-plaster-work---Bradford,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Internal-plastering.jpg" [/COLOR][COLOR=#0000BB]dropimages[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]5[/COLOR][COLOR=#007700]]=[/COLOR][COLOR=#DD0000]"http://bridgwaterwebdesign/bridgwaterwebdesign/images/297679-Dry-lining---Leeds,-Yorkshire---AC-Plastering-(Leeds)-Ltd---Dry-lining.jpg" [/COLOR][/COLOR]

Only one line got the .com

Even those images a href's are incorrected, or hotlink protected.

I advice you to check the images actual path, help alot.

And you should check your spelling for successful sales (:

I did found at least 2 typing mistakes.

Edited by iJamie
Link to comment
Share on other sites

sorry for slow responce all lol , yeh it is the gallery im having trouble with ....after i read the code back on here i relised i had messed up an missed stuff out etc... i need to start sleeping more lol ,i will have another look at it later and correct the mistakes in it

*starting college in evening's soon for web design :)

Edited by wattz
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.