Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - PHP WEB FORM SCRIPT
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedPHP WEB FORM SCRIPT

 Post Reply Post Reply Page  <12
Author
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Direct Link To This Post Posted: 16 July 2004 at 2:40am

I know nothign about PHP, but I think if you read the code you can go on with. like:

If you want to add a field name: Address, just add it to the form

<Input type=text name=Address size=20>

then add this to the mail script in PHP, which sure will be:

mail($sendto, $subject, $feedback, $Address, $header);

I think this will get it work, add as many field as you want.

 



Edited by zMaestro
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Direct Link To This Post Posted: 16 July 2004 at 2:51am

You have to fill variables though, its something like:

$Address = $_FORM["Address"];

Back to Top
gupta_ji View Drop Down
Groupie
Groupie
Avatar

Joined: 29 October 2003
Location: India
Status: Offline
Points: 70
Direct Link To This Post Posted: 19 July 2004 at 9:51am

I got a Solution this is :

 

$message="Name of company : ".$company."\n"."Requirement : ".$description."\n"."email : ".$email."\n"."Contact Person : ".$name."\n"."Phone : ".$phone."\n"."Address : ".$address."\n"."Fax : ".$fax."\n"."City : ".$city."\n"."Country : ".$country."\n"."Zip : ".$pin;
mail('info@brigadeindia.com','Query Through Net',$message,"From: $name <$email>");
header("location:thanks.php");

This will work.

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.