e-mail form script

This is where you share YOUR scripts with others

Moderators: macek, egami, gesf

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

e-mail form script

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


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;">
<input name="tn" type="hidden" value="product name">

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

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.


User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

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.

Return to “Your Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest