Board index   FAQ   Search  
Register  Login
Board index PHP Your Scripts

e-mail form script

This is where you share YOUR scripts with others

Moderators: macek, egami, gesf

e-mail form script

Postby Ken2010 » Tue Jun 21, 2011 8:57 pm

Hi,

i moved my site to a new server yesterday and my booking form is not working since then.

I have html pages with a form action button as below;

<form action="http://mydomain.com/tour_form.php" method="post" style="margin:0 0 0 0;">
<br>
<input name="tn" type="hidden" value="product name">

<input type="submit" class="book" value="book now">
</form>


and this goes to the tour_form.php page where there is a php code as <?=$tn;?> which meant to get the name of the product from previous page but and writes it on top of the next page (tour_form.php) as well as it into a booking form so we know which product customer inquiry but it doesn't work since I moved it to a new server.

Can you please advise what I am doing wrong.

Thanks
Ken2010
New php-forum User
New php-forum User
 
Posts: 1
Joined: Tue Jun 21, 2011 8:41 pm

Re: e-mail form script

Postby egami » Wed Jun 22, 2011 7:11 am

perhaps it's your http://...
just change it to be the php file.
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT


Return to Your Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.