Jump to content

[SOLVED] Modifying contact_us.php


Blackthorneppc

Recommended Posts

Hello everyone,  I require some php assistance, Im new to it and Ive been able to reverse learn it by looking at the files and how things work but still Ive been having some problems. Lets go straight to the point. I tried to modify contact_us.php to have more than the 3 fields it currently has. Name:, Budget:, Purpose & Requirements:, Additional Comments:

 

Original contact_us.php

http://www.nomorepasting.com/getpaste.php?pasteid=7441

Original includes/languages/english/contact_us.php

http://www.nomorepasting.com/getpaste.php?pasteid=7442

 

 

Modified contact_us.php

http://www.nomorepasting.com/getpaste.php?pasteid=7372

Modified includes/languages/english/contact_us.php

http://www.nomorepasting.com/getpaste.php?pasteid=7373

 

However, when I submit the info, the name of the person appear in my email and also the only thing that shows properly is Additional Comments: OR sometimes Purpose & Requirements: the rest dont show at all in my email.

 

For example, someone submits this particular information:

Full Name: John Smith

E-Mail Address: [email protected]

Budget: 1500

Purpose & Requirements: Business.

Additional Comments: I dunno.

 

the Results in my email is:

From: [email protected](thats my webhost btw) when it should be [email protected]

Subject: Enquiry from Blackthorne Power PCs

Body: Business.

 

Is it sql related? because i didnt do any sql changes or dont know how to do it.

 

I know im doing something terribly wrong, but Im not sure what...

 

If anyone can help me, Ide appreciate it! Thanks.

 

-Paymun

Link to comment
https://forums.phpfreaks.com/topic/79317-solved-modifying-contact_usphp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.