Please help out with a form to email prob

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
doggy
Forum Commoner
Posts: 80
Joined: Tue Dec 09, 2003 5:01 am
Location: South Africa

Please help out with a form to email prob

Post by doggy »

I have a form

<form>
<input type="text" name="txtName">
<input type="text" name="txtTwo">
<input type="submit" name="submit" value="submit">
</form>

And i want to set the input fields to php values and then send and email
using the

send() function ... could some one please help me out

Thank you so much
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Could you show us the code you currently have. send() is not a PHP function so the code for that would probably be useful.

Mac
User avatar
doggy
Forum Commoner
Posts: 80
Joined: Tue Dec 09, 2003 5:01 am
Location: South Africa

Post by doggy »

All i really want to know is how i can set the values from the form to php values so i can use it and email it
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You want to get the information from the form and process it using PHP? The best place to start would be with a tutorial - check out http://www.devshed.com and they should have something you can adapt.

This forum is intended to help people with code they have already written rather than to write code for them.

Mac
Post Reply