Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 11-07-2007, 04:02 AM
Private First Class
 
Join Date: Nov 2007
Posts: 5
Default help with form

I am having difficulty with my form submission - the form doesnt submit and i dont proceed to my thank you page -- i have the action.php set correctly, but i think i have messed up the html on the thank you page -- any assistance offered would be greatly appreciated
www.cruise-flights.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 11-07-2007, 05:27 AM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: help with form

Please post your php code here so that we can have a look at it.


Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 11-07-2007, 01:27 PM
Private First Class
 
Join Date: Nov 2007
Posts: 5
Default Re: help with form

I'm afraid I have fowled this up pretty bad -but don't know how to fix it -- your help is very much appreciated

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Thank you</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Thank you</title>
<?PHP
$email = $HTTP_POST_VARS[email];
$emailto = "contact@cruise-flights.com";
$mailsubj = "contact Form Submission";
$mailhead = "from: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values Submitted ffrom Web site fot :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!::submit:)
{
$mailbody .= "$key : $val/n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

<meta name="GENERATOR" content="Created by BlueVoda">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<img src="m_013.gif" id="Image1" alt="" align="top" border="0" width="996" height="1278" style="position:absolute;left:0px;top:0px;width:99 6px;height:1278px;z-index:0">
<div id="bv_" style="position:absolute;left:312px;top:72px;width :548px;height:58px;z-index:1" align="left">
<font style="font-size:48px" color="#000000" face="Book Antiqua">CRUISE - FLIGHTS&nbsp; LTD</font></div>
<div id="bv_" style="position:absolute;left:336px;top:432px;widt h:629px;height:195px;z-index:2" align="center">
<font style="font-size:32px" color="#000000" face="Times New Roman">Thank you for your flight request<br>
<br>
Our professional Air/Sea specialists will reply via your email with an itinerary for your approval within 24 hours</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
<div id="bv_" style="position:absolute;left:72px;top:456px;width :124px;height:132px;z-index:3" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights/index.html"><img id="bv01005" src="bv01005.gif" alt="home" title="home" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.resform.html"><img id="bv01006" src="bv01006.gif" alt="Reservation " title="Reservation " align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.contact.html"><img id="bv01007" src="bv01007.gif" alt="Contact Us" title="Contact Us" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.cruisenews.html"><img id="bv01008" src="bv01008.gif" alt="Cruise News" title="Cruise News" align="top" border="0" width="124" height="30"></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:336px;top:144px;widt h:648px;height:42px;z-index:4" align="left">
<font style="font-size:24px" color="#000000" face="Times New Roman">Professional Air/Sea Services for Cruise Passengers</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
</body>
</html>
<meta name="GENERATOR" content="Created by BlueVoda">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<img src="m_013.gif" id="Image1" alt="" align="top" border="0" width="996" height="1278" style="position:absolute;left:0px;top:0px;width:99 6px;height:1278px;z-index:0">
<div id="bv_" style="position:absolute;left:312px;top:72px;width :548px;height:58px;z-index:1" align="left">
<font style="font-size:48px" color="#000000" face="Book Antiqua">CRUISE - FLIGHTS&nbsp; LTD</font></div>
<div id="bv_" style="position:absolute;left:336px;top:432px;widt h:629px;height:195px;z-index:2" align="center">
<font style="font-size:32px" color="#000000" face="Times New Roman">Thank you for your flight request<br>
<br>
Our professional Air/Sea specialists will reply via your email with an itinerary for your approval within 24 hours</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
<div id="bv_" style="position:absolute;left:72px;top:456px;width :124px;height:98px;z-index:3" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/index.html" target="_self"><img id="bv01005" src="bv01005.gif" alt="home" title="home" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/resform.html" target="_self"><img id="bv01006" src="bv01006.gif" alt="Reservation " title="Reservation " align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/cruise news.html" target="_self"><img id="bv01008" src="bv01008.gif" alt="Cruise News" title="Cruise News" align="top" border="0" width="124" height="30"></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:336px;top:144px;widt h:648px;height:42px;z-index:4" align="left">
<font style="font-size:24px" color="#000000" face="Times New Roman">Professional Air/Sea Services for Cruise Passengers</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 11-07-2007, 05:38 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: help with form

The php code that you copied and are using has an error in it. Before I correct it, can you give me a URL to the palce where you copied the php code from? This way I can see what exactly was intended and what is missing.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 11-07-2007, 05:49 PM
Private First Class
 
Join Date: Nov 2007
Posts: 5
Default Re: help with form

perhaps that is what I am confused about. When I opend the page html properties on my thank you page www.cruise-flight.com/thankyou.html i copied the HTML from the top to the bottom panel in the "between Head tag" tab and added the "$mail" info as instructed in the form tutorial video - but i do not think i did it correctly -- many thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 11-07-2007, 07:24 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: help with form

There is no need to copy what was above into the blank space below. So delete everything and start over.

But I would still like to have the URL to the tutorial that gave you the php code to copy and paste.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 11-07-2007, 07:31 PM
Private First Class
 
Join Date: Nov 2007
Posts: 5
Default Re: help with form

Hello -- here is the url for the tutorial i followed:
http://www.vodahost.com/vodatalk/for...-part-1-a.html

Aso below is the HTML that i have revised -- but the page still does not submit -- responds with

Parse error: syntax error, unexpected '!' in /home/bnocmzmq/public_html/action.php on line 20

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Thank you</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Thank you</title>
<meta name="GENERATOR" content="Created by BlueVoda">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<img src="m_013.gif" id="Image1" alt="" align="top" border="0" width="996" height="1278" style="position:absolute;left:0px;top:0px;width:99 6px;height:1278px;z-index:0">
<div id="bv_" style="position:absolute;left:312px;top:72px;width :548px;height:58px;z-index:1" align="left">
<font style="font-size:48px" color="#000000" face="Book Antiqua">CRUISE - FLIGHTS&nbsp; LTD</font></div>
<div id="bv_" style="position:absolute;left:336px;top:432px;widt h:629px;height:195px;z-index:2" align="center">
<font style="font-size:32px" color="#000000" face="Times New Roman">Thank you for your flight request<br>
<br>
Our professional Air/Sea specialists will reply via your email with an itinerary for your approval within 24 hours</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
<div id="bv_" style="position:absolute;left:72px;top:456px;width :124px;height:132px;z-index:3" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights/index.html"><img id="bv01005" src="bv01005.gif" alt="home" title="home" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.resform.html"><img id="bv01006" src="bv01006.gif" alt="Reservation " title="Reservation " align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.contact.html"><img id="bv01007" src="bv01007.gif" alt="Contact Us" title="Contact Us" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.cruisenews.html"><img id="bv01008" src="bv01008.gif" alt="Cruise News" title="Cruise News" align="top" border="0" width="124" height="30"></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:336px;top:144px;widt h:648px;height:42px;z-index:4" align="left">
<font style="font-size:24px" color="#000000" face="Times New Roman">Professional Air/Sea Services for Cruise Passengers</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
<?PHP
$mailto = "contact@cruise-flights.com";
$email = $HTTP_POST_VARS['email'];
if ($email == ""){
$email = $mailto;
}
$mailsubj = "contact Form Submission";
$mailhead = "from: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values Submitted from Web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody.= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</body>
</html>
<meta name="GENERATOR" content="Created by BlueVoda">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<img src="m_013.gif" id="Image1" alt="" align="top" border="0" width="996" height="1278" style="position:absolute;left:0px;top:0px;width:99 6px;height:1278px;z-index:0">
<div id="bv_" style="position:absolute;left:312px;top:72px;width :548px;height:58px;z-index:1" align="left">
<font style="font-size:48px" color="#000000" face="Book Antiqua">CRUISE - FLIGHTS&nbsp; LTD</font></div>
<div id="bv_" style="position:absolute;left:336px;top:432px;widt h:629px;height:195px;z-index:2" align="center">
<font style="font-size:32px" color="#000000" face="Times New Roman">Thank you for your flight request<br>
<br>
Our professional Air/Sea specialists will reply via your email with an itinerary for your approval within 24 hours</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
<div id="bv_" style="position:absolute;left:72px;top:456px;width :124px;height:98px;z-index:3" align="center">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar1">
<tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/index.html" target="_self"><img id="bv01005" src="bv01005.gif" alt="home" title="home" align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/resform.html" target="_self"><img id="bv01006" src="bv01006.gif" alt="Reservation " title="Reservation " align="top" border="0" width="124" height="30"></a></td>
</tr>
<tr><td height="4"></td></tr><tr>
<td align="left" valign="top" width="124" height="30"><a href="http://www.cruise-flights.com/cruise news.html" target="_self"><img id="bv01008" src="bv01008.gif" alt="Cruise News" title="Cruise News" align="top" border="0" width="124" height="30"></a></td>
</tr>
</table>
</div>
<div id="bv_" style="position:absolute;left:336px;top:144px;widt h:648px;height:42px;z-index:4" align="left">
<font style="font-size:24px" color="#000000" face="Times New Roman">Professional Air/Sea Services for Cruise Passengers</font><font style="font-size:16px" color="#000000" face="Times New Roman"><br>
</font></div>
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 11-07-2007, 08:35 PM
Private First Class
 
Join Date: Nov 2007
Posts: 5
Default Re: help with form

thank you for your help -- i cleared the html and started over -- works like a charm now -- many thanks for your assistance!!!!!!!!!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 11-07-2007, 11:39 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: help with form

Great Richard! Glad all is well.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176